cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: Unhandled exception when using curl_easy_perform()inVisualStudio2005 on Windows XP.

From: Xu Xiaogang-a19881 <nickxu_at_motorola.com>
Date: Tue, 3 Jun 2008 21:59:48 +0800

Thanks for the information. I did use /MDd for code generation. When I change it to /MD, the unhandled exception is gone.
But, when I captured the packages sent by curl when I called libcurl to post some contents to a server, I did not find the content set via curl_easy_setopt (curl, CURLOPT_POSTFIELDS, ***).
I am not clear what is happening now. Do you have any idea?

Regards
-Xiaogang

-----Original Message-----
From: curl-library-bounces_at_cool.haxx.se [mailto:curl-library-bounces_at_cool.haxx.se] On Behalf Of Gisle Vanem
Sent: 200863 17:43
To: libcurl development
Subject: Re: Unhandled exception when using curl_easy_perform()inVisualStudio2005 on Windows XP.

"Xu Xiaogang-a19881" <nickxu_at_motorola.com> wrote:

> New problem comes.
>
> This version of libcurl can work with HTTP GET, but if I use it to
> post some content to the server, it will still get the unhandled exception: "Unhandled exception at 0x77c478c0 in myspace.exe:
> 0xC0000005: Access violation reading location 0x00b7a000."

You're not giving enough details for us to help you. But this could happen if you compile/build using a different configuration than libcurl was built with. E.g. if you use "cl -MDd" in your app. and libcurl was built with "cl -MD", you are asking for trouble.

--gv
Received on 2008-06-03