Sorry, I didn't explain that the FindFirstFile - and the like - are not handled strangely. When I stated (incorrectly) that they are problematic, I just had a blurry memory that some enumeration needed special care (this week I've been exhausted). Only CALLBACK procs, specified by the coder, need "special" care - which is nothing more than preserving the 3 registers if you modify them.

"Callback" API are marked in MSDN:

BOOL CALLBACK EnumWindowsProc(
  HWND hwnd,      // handle to parent window
  LPARAM lParam  // application-defined value

It could poke your eye :)
Posted on 2005-10-29 17:47:14 by Ultrano
Ok, i think my program needs to do so cuz i use callback procs before entering WndProc().
Posted on 2005-10-29 19:02:08 by Punky