Page 1 of 1

hbcurl how is it used?

Posted: Sun Mar 01, 2020 11:35 pm
by byron.hopp
I am just now diving into Mod_Harbour so please excuse my lack of knowledge. I see hbcurl referenced in many of the examples.
When I attempt to call curl_easy_init() I get:

Error: Unknown or unregistered symbol
operation: CURL_EASY_INIT

Is this built into mod_harbour, or do I need to reference it somehow?

Thanks,

Re: hbcurl how is it used?

Posted: Mon Mar 02, 2020 7:44 am
by Antonio Linares
Byron,

Are you running Apache on Windows ?

If so, please download and use this mod_harbour version:

https://github.com/FiveTechSoft/mod_har ... dows/win64

Re: hbcurl how is it used?

Posted: Mon Mar 02, 2020 4:47 pm
by byron.hopp
We are running IIS. Do I need to download something new? Is it the dll or Mod_Harbour.lib as well?

Thanks,

Byron...

Re: hbcurl how is it used?

Posted: Tue Mar 03, 2020 6:17 am
by Antonio Linares
Byron,

The problem that we have found with IIS and curl is that there is a missing DLL, that does not allow to load libharbour.dll, and we don't know which one is it yet

So for now, curl support is disabled for IIS until we find the missing DLL

You can test it using this libharbour.dll:
https://github.com/FiveTechSoft/mod_har ... dows/win64

We are checking it again

Re: hbcurl how is it used?

Posted: Tue Mar 03, 2020 6:22 am
by Antonio Linares
I have just sent you a slack invitation, where we talk about mod_harbour trying to solve this IIS issue...

Re: hbcurl how is it used?

Posted: Tue Mar 03, 2020 11:53 am
by Antonio Linares
Byron,

ok, mod_harbour for IIS properly working with CURL support.

Please download the new files from here:
https://github.com/FiveTechSoft/mod_har ... er/IIS/bin

Please remember to copy libcurl.dll, libcrypto-1_1-x64.dll and libssl-1_1-x64.dll to c:\windows\system32\inetsrv

I appreciate if you let us know how it works, thanks