FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index mod_harbour Migration to the new mod_harbour fastCGI
Posts: 43
Joined: Tue Mar 25, 2008 07:22 PM
Re: Migration to the new mod_harbour fastCGI
Posted: Mon May 03, 2021 08:24 AM

Hi Antonio,

As you know, I use the fastcgi version on IIS10 and it work fine till I try the ADS version.
I copied the needed ADS 11.1 64 bits DLLS either on the same place that modharbour.exe or in c:\windows\system32 but no way, I alway receive an internal error 500 wich seem to say modharbour.exe can't load, missing the ADS DLLS.

Any idea wich could help ?

Best regards,

JF Lefebvre

JF Lefebvre (Jean_François)
Mafact SA (Belgium)
http://www.mafact.com
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Migration to the new mod_harbour fastCGI
Posted: Mon May 03, 2021 09:21 AM

Dear JF,

It could be that there is a missing DLL that ADS needs.

For a test, keep using the previous version (without ADS) and try to do a ? WAPI_LoadLibrary( "ace64.dll" ) and let me know what you get

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 43
Joined: Tue Mar 25, 2008 07:22 PM
Re: Migration to the new mod_harbour fastCGI
Posted: Mon May 03, 2021 09:49 AM

Thanks, will do it now and come back to you asap

JF Lefebvre (Jean_François)
Mafact SA (Belgium)
http://www.mafact.com
Posts: 43
Joined: Tue Mar 25, 2008 07:22 PM
Re: Migration to the new mod_harbour fastCGI
Posted: Mon May 03, 2021 10:04 AM

Here it is

prg is as simple as ;

Function Main
? "test load ads64.dll"
?
? WAPI_LoadLibrary( "ace64.dll" )

return nil

Error: Unknown or unregistered symbol
operation: WAPI_LOADLIBRARY
called from: HB_HRBLOAD, line: 0
called from: ..\source\exec.prg, EXECUTE, line: 70

JF Lefebvre (Jean_François)
Mafact SA (Belgium)
http://www.mafact.com
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Migration to the new mod_harbour fastCGI
Posted: Mon May 03, 2021 03:57 PM
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 43
Joined: Tue Mar 25, 2008 07:22 PM
Re: Migration to the new mod_harbour fastCGI
Posted: Mon May 03, 2021 04:34 PM

Hummm, internal error 500 in any case then. Even for a single

"? Hello"

JF Lefebvre (Jean_François)
Mafact SA (Belgium)
http://www.mafact.com
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Migration to the new mod_harbour fastCGI
Posted: Mon May 03, 2021 04:40 PM

missing DLLs surely...

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 43
Joined: Tue Mar 25, 2008 07:22 PM
Re: Migration to the new mod_harbour fastCGI
Posted: Mon May 03, 2021 05:54 PM

I just replaced modharbour.exe with your last one.

If I replace it with the previous one, all programs are working fine without ADS.

Any more needed dll I should add but those already in the folder (libcrytoxxx, libcurlxxx, libfcgi and libssl ... ) ?

Thanks,

JF

JF Lefebvre (Jean_François)
Mafact SA (Belgium)
http://www.mafact.com
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Migration to the new mod_harbour fastCGI
Posted: Mon May 03, 2021 07:15 PM

JF,

Is WAPI_LoadLibrary( "ace64.dll" ) working already ?

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 43
Joined: Tue Mar 25, 2008 07:22 PM
Re: Migration to the new mod_harbour fastCGI
Posted: Tue May 04, 2021 07:01 AM

Hi Antonio,
No, last Modharbour.exe won't load for any prg. with ou without ADS dlls.

JF

JF Lefebvre (Jean_François)
Mafact SA (Belgium)
http://www.mafact.com
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Migration to the new mod_harbour fastCGI
Posted: Tue May 04, 2021 07:59 AM

JF,

if you directly run modharbour.exe what do you get ?

It may report that there are missing DLLs. Please supply them

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 43
Joined: Tue Mar 25, 2008 07:22 PM
Re: Migration to the new mod_harbour fastCGI
Posted: Tue May 04, 2021 09:38 AM

Hi Antonio,

Renaming libcurl-x64.dll into libcurl.dll solved the problem.

Last Modharbour.exe is working fine now with ADS, with and without using WAPI_LOADLIB...

ADS64 11.1 dlls are all copied into the same folder as modharbour.exe

Many thanks, you are the best, as usual :)

JF

JF Lefebvre (Jean_François)
Mafact SA (Belgium)
http://www.mafact.com
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Migration to the new mod_harbour fastCGI
Posted: Tue May 04, 2021 10:54 AM

many thanks for your great feedback :-)

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 43
Joined: Tue Mar 25, 2008 07:22 PM
Re: Migration to the new mod_harbour fastCGI
Posted: Tue May 04, 2021 03:41 PM

Hi Antonio,

Any plan to also recompile the ADS version of Modharbour.exe ?

Thanks,

JF

JF Lefebvre (Jean_François)
Mafact SA (Belgium)
http://www.mafact.com
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Migration to the new mod_harbour fastCGI
Posted: Tue May 04, 2021 03:53 PM
regards, saludos

Antonio Linares
www.fivetechsoft.com