On Thu, May 14, 2009 at 2:01 PM, Rossine <qii...@ig.com.br> wrote: > > Hello, > > In class TIMAGE de FWH, when using: > > > #ifdef __CLIPPER__ > hLib = LoadLib32( "freeimage.dll" ) > #else > hLib = LoadLibrary( "freeimage.dll" ) > #endif > > msgstop( valtype( hlib ) + "-"+ valtoprg( hlib ) ) > > if hLib <= 32 && <<<------ Here error
Probably 'IF Empty( hLib )' should be used here, and LoadLibrary() modified to return NULL when pointer is <= 32. But now I know why we had this code full of numeric pointers. We can also leave LoadLibrary() as compatibility function and switch it back to return numeric. This wouldn't be a huge step forward though... Please FWH and Windows users (developers?) comment. Brgds, Viktor
_______________________________________________ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour