hmpaquito wrote:Compruebese que la dll es cargada con loadlibrary() y *NO* con loadlib32()
function LoadFreeImage( cResFile )
DEFAULT cResFile := If( IsWin64(), "freeimage64.dll", "freeimage.dll" )
if Empty( hLib )
#ifdef __CLIPPER__
hLib = LoadLib32( cResFile )
#else
hLib = LoadLibrary( cResFile )
#endif
if hLib <= 32
MsgAlert( "Cannot load " + If( IsWin64(), "FreeImage64.dll", "FreeImage
hLib = 0
endif
endif
return hLib
karinha wrote:Mira,
- Code: Select all Expand view
function LoadFreeImage( cResFile )
DEFAULT cResFile := If( IsWin64(), "freeimage64.dll", "freeimage.dll" )
if Empty( hLib )
#ifdef __CLIPPER__
hLib = LoadLib32( cResFile )
#else
hLib = LoadLibrary( cResFile )
#endif
if hLib <= 32
MsgAlert( "Cannot load " + If( IsWin64(), "FreeImage64.dll", "FreeImage
hLib = 0
endif
endif
return hLib
Return to FiveWin para Harbour/xHarbour
Users browsing this forum: Google [Bot] and 60 guests