The code below works OK in Win95, but always returns 0 in NT4 sp6 (or sometimes
a large negative number):-
local hTempBitmap as long
local tempz as asciiz*25
tempz="Temp_sch.bmp"
hTempBitmap = LoadImage(0, tempz, %IMAGE_BITMAP, 0, 0, %LR_LOADFROMFILE)
msgbox str$(hTempBitmap)
My copy of Win32.hlp states that %LR_LOADFROMFILE is not supported in NT. If
this is the case, how do I load a BMP file into the program under NT?
A very confused
Iain Johnstone
------------------
a large negative number):-
local hTempBitmap as long
local tempz as asciiz*25
tempz="Temp_sch.bmp"
hTempBitmap = LoadImage(0, tempz, %IMAGE_BITMAP, 0, 0, %LR_LOADFROMFILE)
msgbox str$(hTempBitmap)
My copy of Win32.hlp states that %LR_LOADFROMFILE is not supported in NT. If
this is the case, how do I load a BMP file into the program under NT?
A very confused
Iain Johnstone
------------------
Comment