Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. TheGreyBeast

    How to disable System HotKeys?

    I want to create a 3d program using OpenGL and Software rendering (gdi). The main problem are the system hotkeys, because I don't want the user to be able to minimize/activate startmenu/press ALT-TAB, etc.. I know, using DirectDraw, SetCooperativeLevel with DDSCL_EXCLUSIVE|DDSCL_FULLSCREEN will...
  2. TheGreyBeast

    Why are stack probes used for?

    Visual C++ uses stack probes if a function requires more than 4K local storage, but why does it need stack probes? What are these stack probes actually doing? What is the _chkstk function doing? What exactly is a stack probe and why do you need it? Please forgive me for so many questions, but...
  3. TheGreyBeast

    Is there a hint for this?

    I use a lot of byte variables (5 in fact) and I want to achieve the most performant code with Visual C++ 6.0 I want to load all of them in registers, but the compiler isn't as smart as I thought... It loads three of them in registers al, bl and cl, but it doesn't want to load the others in ah...
  4. TheGreyBeast

    Search a string while a character is met

    In Visual C++, the functions memcmp, memcpy and memset are all intrinsics (which makes them really fast), but is there a way to make memchr intrinsic too? Also, I'd like to make a new intrinsic function which searches a string and stops if it encounters a character other than al. For example...
  5. TheGreyBeast

    Passing parameters in registers?

    Hi, A friend gave me lots of .obj files which have useful functions. Some of the functions use parameters in registers. How can I do that in Visual C++? Something like void ClTile(reg al, reg ah, reg cx); The function is supposed to expect parameter1 in al, parameter2 in ah and parameter3 in...

Part and Inventory Search

Back
Top