Original Post
Strange problem alert.....
HBITMAP hbmp = (HBITMAP)LoadImage (NULL, Filename, IMAGE_BITMAP, 0, 0, LR_LOADFROMFILE | LR_DEFAULTSIZE); // Returns NULL
DWORD errID = GetLastError (); // Returns 0 which is "ERROR_SUCCESS" !!!?!
I copied this line of code directly from another project which works fine! I''ve tried rebooting as well. I''m using win2k.
Filename is valid, and _getcwd (current working directory) is right...so.....WTF?????
-----------------------------
-cow_in_the_well
''When in doubt, empty your magazine.'' - Murphy''s Combat Law