Re: HTTPS with OpenSSL

new topic     » goto parent     » topic index » view thread      » older message » newer message
jmduro said...

Maybe using an external DLL is a better way than calling an external process, but I built a libcurl wrapper from the 7.50.1 release and it runs short: it exits without any error on curl_global_init(CURL_GLOBAL_DEFAULT) which has to be the first call.

Did you declare the external functions with a '+' to indicate CDECL calling convention? (See 8.39.4.4 define_c_func)

constant x_curl_global_init = define_c_func( libcurl, "+curl_global_init", {C_LONG}, C_INT ) 
 
public function curl_global_init( atom flags ) 
    return c_func( x_curl_global_init, {flags} ) 
end function 

-Greg

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu