cURL / Mailing Lists / curl-library / Single Mail

curl-library

How come the function works but the class doesn't?

From: Alexander Tairbekov <alex.tairbekov_at_gmail.com>
Date: Sat, 23 Oct 2010 00:28:32 -0400

I have been struggling with this for some time now. This is my problem.

I have 2 sets of code, one that uses a function and another that uses a
class.

The set of code using a function works fine, but the code using the class is
not working, which is not good because I am trying to make my project in
class form.

My function code is attached as code 1.
My class code is attached as code 2.

I have also attached the error code that I got when I tried to compile code
2 using VS2010.

Please help me figure this out.

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html

Received on 2010-10-23