Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem loading libcurl.dll #45

Open
MagnumIR opened this issue Sep 24, 2020 · 1 comment
Open

Problem loading libcurl.dll #45

MagnumIR opened this issue Sep 24, 2020 · 1 comment

Comments

@MagnumIR
Copy link

MagnumIR commented Sep 24, 2020

Hello,

I thought I would make my happiness with CurlSharp, but I have struggled for 3 days.
Unable to launch the project. An error appears when loading the LibCurl.dll dll on the _initCode = NativeMethods.curl_global_init ((int) flags) instruction;
For information, I am using Windows 10 version 1809 64 bits and I am loading the solution with Visual Studio 2019
At first, I have an error: libcurl not found
After copying libcurl.dll to the System32 directory I have a System.BadImageFormatException exception

I also copied the DLLs from CurlSharp \ libs \ i386 to CurlSharp \ Samples \ bin as shown in issues # 36 but it's not better.

Has anyone ever had this problem and found a solution?

@MagnumIR
Copy link
Author

I just found out that in Windows 10 there is already Curl.exe installed in System32. Is this the problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant