curl-library
help on libcurl (Win32 - Generic) with Borland C++ Builder
From: Cheng-Lin Yang <yuwen_at_exodus.cs.ccu.edu.tw>
Date: Wed, 18 Jul 2007 19:38:55 +0800 (CST)
Date: Wed, 18 Jul 2007 19:38:55 +0800 (CST)
Dear all,
I tried to google for the answer, but failed. So I come to here
for help. I'm now using libcurl 7.16.4 (without SSL) Win32 - Generic
version with Borland C++ Builder 2006. I used LoadLibrary to load
the dll file which is extracted from libcurl-7.16.4-win32-nossl.zip.
But I don't know how to use the function in liburl-4.dll.(I know
I should use GerProcAddress to do so, but is there any example?)
Can someone here help me on this? Thanks. :)
My code:
if( ( cl = LoadLibrary( "c:\\libcurl-4.dll" ) ) == NULL ){
MessageBox(NULL, "I can't load libcurl","DingDing", 0);
return;
}
I_dont_know_how_to_get = GetProcAddress(cl, "curl_easy_init" );
Received on 2007-07-18