Page 3 of 4

Re: Migration to the new mod_harbour fastCGI

PostPosted: Mon May 03, 2021 8:24 am
by jfl@mafact.com
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

Re: Migration to the new mod_harbour fastCGI

PostPosted: Mon May 03, 2021 9:21 am
by Antonio Linares
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

Re: Migration to the new mod_harbour fastCGI

PostPosted: Mon May 03, 2021 9:49 am
by jfl@mafact.com
Thanks, will do it now and come back to you asap

Re: Migration to the new mod_harbour fastCGI

PostPosted: Mon May 03, 2021 10:04 am
by jfl@mafact.com
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

Re: Migration to the new mod_harbour fastCGI

PostPosted: Mon May 03, 2021 3:57 pm
by Antonio Linares

Re: Migration to the new mod_harbour fastCGI

PostPosted: Mon May 03, 2021 4:34 pm
by jfl@mafact.com
Hummm, internal error 500 in any case then. Even for a single

"? Hello"

Re: Migration to the new mod_harbour fastCGI

PostPosted: Mon May 03, 2021 4:40 pm
by Antonio Linares
missing DLLs surely...

Re: Migration to the new mod_harbour fastCGI

PostPosted: Mon May 03, 2021 5:54 pm
by jfl@mafact.com
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

Re: Migration to the new mod_harbour fastCGI

PostPosted: Mon May 03, 2021 7:15 pm
by Antonio Linares
JF,

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

Re: Migration to the new mod_harbour fastCGI

PostPosted: Tue May 04, 2021 7:01 am
by jfl@mafact.com
Hi Antonio,
No, last Modharbour.exe won't load for any prg. with ou without ADS dlls.

JF

Re: Migration to the new mod_harbour fastCGI

PostPosted: Tue May 04, 2021 7:59 am
by Antonio Linares
JF,

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

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

Re: Migration to the new mod_harbour fastCGI

PostPosted: Tue May 04, 2021 9:38 am
by jfl@mafact.com
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

Re: Migration to the new mod_harbour fastCGI

PostPosted: Tue May 04, 2021 10:54 am
by Antonio Linares
many thanks for your great feedback :-)

Re: Migration to the new mod_harbour fastCGI

PostPosted: Tue May 04, 2021 3:41 pm
by jfl@mafact.com
Hi Antonio,

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

Thanks,

JF

Re: Migration to the new mod_harbour fastCGI

PostPosted: Tue May 04, 2021 3:53 pm
by Antonio Linares