LoadLibrary/LoadLIB32 doesn't run on Windows 98

LoadLibrary/LoadLIB32 doesn't run on Windows 98

Postby Marco Turco » Tue Jul 03, 2007 3: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
User avatar
Marco Turco
 
Posts: 858
Joined: Fri Oct 07, 2005 12:00 pm
Location: London

Postby Antonio Linares » Tue Jul 03, 2007 5: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:
Code: Select all  Expand view  RUN
#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
User avatar
Antonio Linares
Site Admin
 
Posts: 42100
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 88 guests