- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm getting a -1 error return from loadimage. I found a list of possible error returns from this routine; of course -1 was not listed. Anyone know what this means?
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
There are two LoadImage routines: one of DFLIB (QuickWin), and one in DFWIN (GDI32). The first one just returns 0 for success and -1 for failure (I assume that's yours). The second returns 0 for failure, and GetLastError API will tell you the more specifice cause. Actually, you can try GetLastError even after the QuickWin one -- it might give you a clue.

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page