FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour LoadLibrary/LoadLIB32 doesn't run on Windows 98
Posts: 858
Joined: Fri Oct 07, 2005 12:00 PM
LoadLibrary/LoadLIB32 doesn't run on Windows 98
Posted: Tue Jul 03, 2007 03:46 PM

Hi,
I checked that always return 0 on Windows 98.

Pls. take a look at this self-contained sample
available at www.softwarexp.co.uk/beta/dlltest.zip

It return a positive value on WinXP/Vista and return 0 on Windows 98.

All runs fine with FWH 2006.

Any ideas ?

Thanks in advance.

Marco Turco

Best Regards,



Marco Turco

SOFTWARE XP LLP
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
LoadLibrary/LoadLIB32 doesn't run on Windows 98
Posted: Tue Jul 03, 2007 05:06 PM
Marco,

Its not a FWH issue. It looks as cdintf.dll is not compatible with Win98.

This C standalone EXE can't load it. You can build it doing bcc32 test.c:
#include <windows.h>

int main( int argc, char * argv[] )
{
   HANDLE hDLL = LoadLibrary( "cdintf.dll" );

   if( hDLL )
      MessageBox( 0, "ok", "ok", 0 );
   else
      MessageBox( 0, "can't load it", "ok", 0 );

   FreeLibrary( hDLL );

   return 0;
}
regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion