curl-library
Re: windows development FAQ (was Re: libcurl (perl) and windows)
Date: Fri, 8 Nov 2002 10:34:11 -0500
Hmm.
Yes, I was talking about Project -> Settings -> C/C++ -> Code Generation ->
use run-time library
I'm assuming the MFC lib setting for Release mode is just a mistake.
"Guido Reina"
<guidoreina_at_isdn-si.com> To: <curl-library_at_lists.sourceforge.net>
Sent by: cc:
curl-library-admin_at_lists.sour Subject: Re: windows development FAQ (was Re: libcurl (perl) and windows)
ceforge.net
11/08/2002 03:11 AM
Please respond to
curl-library
I found it very odd but, when I chose the Release configuration, it said in
Project - Settings - General that it uses MFC either in a Static Library or
as Shared DLL, while in the Debug configuration, it says it doesn't use
MFC.
----- Original Message -----
From: <RBramante_at_on.com>
To: <curl-library_at_lists.sourceforge.net>
Sent: Wednesday, November 06, 2002 2:17 PM
Subject: Re: windows development FAQ (was Re: libcurl (perl) and windows)
>
> Just a minor clarification to the below: curl does not use MFC. I think
> you mean "C Runtime Library".
>
> Point #8 is a common problem for people who report spurious crashes on
> windows. All components must match as far as what C runtime they link
> with. There are 6 options: single threaded (static), multithreaded
> (static), multithreaded (dll) all come in both a release and debug form.
> Your executable, curl, and any other libraries you are using should be
> consistent and all utilize the same CRT or you will likely experience
> problems.
>
>
>
>
>
> "Guido Reina"
> <guidoreina_at_isdn-si.com> To:
<curl-library_at_lists.sourceforge.net>
> Sent by: cc:
> curl-library-admin_at_lists.sour Subject: Re:
windows development FAQ (was Re: libcurl (perl) and
> ceforge.net windows)
>
>
> 11/06/2002 03:42 AM
> Please respond to
> curl-library
>
>
>
>
>
>
> I have used libcurl under Visual C++ 6.0 and haven't had any problem. I
> hope
> this mini-mini-mini howto helps somebody.
>
> I have done the following (curl-7.10.1):
> 1. Open 'curllib.dsw' with Visual Studio.
> 2. Choose the active configuration (Build - Set Active Configuration...).
I
> choose 'curllib - Win32 Release'.
> 3. If you go to project settings, you will see that it uses MFC as a
static
> library.
> 4. Build - Build 'libcurl.dll'. You get in the directory 'Release/' two
> files the files 'libcurl.dll' and 'libcurl.lib' (you will need both of
> them).
> 5. Copy in your project's directory the files 'libcurl.dll' and
> 'libcurl.lib'.
> 6. Open your project and go to 'Project - Settings'.
> 7. In the Tab 'Link' add in the edit 'Object/library modules:' the
> libcurl's
> lib ('libcurl.lib').
> 8. Note that if you are using the Release version of curllib.dll, your
> project must also be set to Release version (my program failed because
the
> active configuration was Debug and I was using the Release version of the
> libcurl, and the way round). I also would use MFC as a static library...
If
> you want to use MFC as a shared library, build the libcurl using MFC as a
> shared library ---------------- All these is base upon my own experience,
> trial and error.
> 9. Include 'curl.h'.
> 10. Grok URLs :).
>
> I hope it was useful (Daniel, thank you very much for your great job and
> support).
>
> Guido.
>
> ----- Original Message -----
> From: "Daniel Stenberg" <daniel_at_haxx.se>
> To: "libcurl Mailing list" <curl-library_at_lists.sourceforge.net>
> Sent: Wednesday, November 06, 2002 9:11 AM
> Subject: windows development FAQ (was Re: libcurl (perl) and windows)
>
>
> > On Mon, 4 Nov 2002, lupusdacicus wrote:
> >
> > > For future versions of curl, or maybe on the web site, I think it
would
> be
> > > helpful if you had a windows development FAQ, maybe even have the
link
> to
> > > some windows compilers, Nmake and such.
> >
> > Yes please. Send the fine docs and manuals our way and we will include
> them
> > on the site and show all curl users.
> >
> > I don't personally ever build or develop curl or libcurl on Windows and
I
> > have very few clues to offer for those people. We depend on the people
> who
> > find the problems and who know the answers to provide the solutions to
> > others.
> >
> > --
> > Daniel Stenberg -- curl, cURL, Curl, CURL. Groks URLs.
> >
> >
> >
> > -------------------------------------------------------
> > This sf.net email is sponsored by: See the NEW Palm
> > Tungsten T handheld. Power & Color in a compact size!
> > http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
> >
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by: See the NEW Palm
> Tungsten T handheld. Power & Color in a compact size!
> http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
>
>
>
>
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by: See the NEW Palm
> Tungsten T handheld. Power & Color in a compact size!
> http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
>
-------------------------------------------------------
This sf.net email is sponsored by: See the NEW Palm
Tungsten T handheld. Power & Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
-------------------------------------------------------
This sf.net email is sponsored by: See the NEW Palm
Tungsten T handheld. Power & Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
Received on 2002-11-08