Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

loadimage error return

Richard_A_1
Beginner
431 Views
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?
0 Kudos
1 Reply
Jugoslav_Dujic
Valued Contributor II
431 Views
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.
0 Kudos
Reply