Curl error

I’m using curl to move a file, it works on my local machine no problem, but when i try and run it in windows sandbox (or other pc) win11, i get

Missing function _curl_global_init. Did you use LoadLibrary?

Anyone any ideas?
Dave

how are you using curl ?
in xojo ? C# ? something else ?
directly in the cmd line ?

Monkeybread software curl

windows 11 has an integrated (and crippeld down) curl / libcurl with less protocols and features and often some versions behind official one. So maybe you’re just talking to the wrong curl?

did you call loadLibrary ?
if so then you DO have to be careful

but the MBS plugin has a version of curl built in and you dont need to call LoadLibrary to use that

I don’t call loadlibrary at all

No idea then
I’ve used MBS Curl in a few apps and never seen this issue

But without code to examine I’d be guessing which I hate to do

1 Like

All sorted, Christian as always is a star man, there are two MBS calls CURLMBS and CURLSMBS, the one with the extra S using MBS libs and the other windows libs. Swapping all calls to CURLSMBS solved the problem.

2 Likes

well as I said before…