Migration to the new mod_harbour fastCGI

mod_harbour is an Apache module that allows to run PRGs directly on the web !!!

Re: Migration to the new mod_harbour fastCGI

Postby jfl@mafact.com » Mon May 03, 2021 8: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
jfl@mafact.com
 
Posts: 43
Joined: Tue Mar 25, 2008 7:22 pm

Re: Migration to the new mod_harbour fastCGI

Postby Antonio Linares » Mon May 03, 2021 9: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
User avatar
Antonio Linares
Site Admin
 
Posts: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Migration to the new mod_harbour fastCGI

Postby jfl@mafact.com » Mon May 03, 2021 9: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
jfl@mafact.com
 
Posts: 43
Joined: Tue Mar 25, 2008 7:22 pm

Re: Migration to the new mod_harbour fastCGI

Postby jfl@mafact.com » 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
jfl@mafact.com
 
Posts: 43
Joined: Tue Mar 25, 2008 7:22 pm

Re: Migration to the new mod_harbour fastCGI

Postby Antonio Linares » Mon May 03, 2021 3:57 pm

regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Migration to the new mod_harbour fastCGI

Postby jfl@mafact.com » Mon May 03, 2021 4: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
jfl@mafact.com
 
Posts: 43
Joined: Tue Mar 25, 2008 7:22 pm

Re: Migration to the new mod_harbour fastCGI

Postby Antonio Linares » Mon May 03, 2021 4:40 pm

missing DLLs surely...
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Migration to the new mod_harbour fastCGI

Postby jfl@mafact.com » Mon May 03, 2021 5: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
jfl@mafact.com
 
Posts: 43
Joined: Tue Mar 25, 2008 7:22 pm

Re: Migration to the new mod_harbour fastCGI

Postby Antonio Linares » Mon May 03, 2021 7:15 pm

JF,

Is WAPI_LoadLibrary( "ace64.dll" ) working already ?
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Migration to the new mod_harbour fastCGI

Postby jfl@mafact.com » Tue May 04, 2021 7: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
jfl@mafact.com
 
Posts: 43
Joined: Tue Mar 25, 2008 7:22 pm

Re: Migration to the new mod_harbour fastCGI

Postby Antonio Linares » Tue May 04, 2021 7: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
User avatar
Antonio Linares
Site Admin
 
Posts: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Migration to the new mod_harbour fastCGI

Postby jfl@mafact.com » Tue May 04, 2021 9: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
jfl@mafact.com
 
Posts: 43
Joined: Tue Mar 25, 2008 7:22 pm

Re: Migration to the new mod_harbour fastCGI

Postby Antonio Linares » Tue May 04, 2021 10:54 am

many thanks for your great feedback :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Migration to the new mod_harbour fastCGI

Postby jfl@mafact.com » Tue May 04, 2021 3: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
jfl@mafact.com
 
Posts: 43
Joined: Tue Mar 25, 2008 7:22 pm

Re: Migration to the new mod_harbour fastCGI

Postby Antonio Linares » Tue May 04, 2021 3:53 pm

regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

PreviousNext

Return to mod_harbour

Who is online

Users browsing this forum: No registered users and 12 guests