I wrote multi-threaded FTP uploader on C#.NET using libcurl.NET.
Everything works fine on my machine, but when I give application (exe + libcurl.dll + 2 libcurl C# binding DLLs) to my friend who is running Win64, application crashes.
After adding exception catcher to whole Main() function, I was able to get readable error message: "An attempt was made to load a program with an incorrect format (Exception from HRESULT = 0x8007000b)"
After googling for a while, I found an advice to enable unmanaged code in my project settings. I've recompiled my application and LibCurlNet.dll with this flag set but it did not help.
What can cause such problem?