Re: Binary of libcurl on Win64
Date: Tue, 20 Jan 2009 23:04:11 -0500
On Jan 20, 2009, at 12:04 PM, your ishiro wrote:
> From: Gisle Vanem <gvanem_at_broadpark.no>
>>> But next error occured...
>>> System.BadImageFormatException: An attempt was made to load a
>>> program with an incorrect
>>> format. (Exception from HRESULT: 0x8007000B)
>>> I'm not sure if my libcurl.dll is compiled as 64bit application or
>>> not. I am glad if I could get some help.
>> Well, the libcurl.dll is not a .NET assembly. So the error is
> Thank you for a reply. I am sorry I am doing something stupid. I
> want to know what you mean further.
> Do you mean the way of invoking dll is wrong??
> My custom C# application and libcurl.dll(get by x32 binary) can work
> correctly on Win32.
> I re-compiled those C# application and libcurl.dll as 64bit
> application this time.
> Therefore I did not change the way of invoking dll.
Are you positive that you are building a x64 version of the library?
What happens when you take the supposed 64-bit DLL and attempt to use
it with your 32-bit C# program? If it works, you may want to check
your Visual Studio project settings.
/* Andre Guibert de Bruet * 436f 6465 2070 6f65 742e 2042 6974 206a */
/* Managing Partner * 6f63 6b65 792e 2053 7973 4164 6d69 6e2e */
/* GSM: +1 734 846 8758 * 2055 4e49 5820 736c 6575 7468 2e00 0000 */
/* WWW: siliconlandmark.com * C/C++, Java, Perl, PHP, SQL, XHTML, XML */
Received on 2009-01-21