cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: callback function problem

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 15 Apr 2003 14:35:24 +0200 (CEST)

On Tue, 15 Apr 2003, Nelson Ricardo Gomes wrote:

(I'm cc'ing this reply to the libcurl mailing list, please take follow-ups
there.)

> I'm doing a https post COM (ATL) and I'm having problems with the callback
> function. I have tested the same code with standard C and it works fine.

Then it sounds like there's a problem with your binding/adjustments.

> I believe the problem is the callback address, It's not been called by the
> libcurl. How can I make sure the address I pass to libcurl is correct, when
> doing a COM object?

I don't think I understand your problem.

1. If you would pass a bad address, then libcurl would still call that and
   you would most likely experience a crash.

2. I have no idea how COM objects work or how you're supposed to pass
   callbacks around using them.

-- 
 Daniel Stenberg -- curl, cURL, Curl, CURL. Groks URLs.
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Received on 2003-04-15