Q
quickcur
quickcur said:[...]
On 23/12/2007 20:05, jacob navia wrote:
[...]
Please send me any problems to the mail address below
and you will get a prompt answer.
Do not send it to the group since it is compiler specific
[...]
Please pay attention to what jacob wrote. Your questions are
inappropriate for comp.lang.c.
Why???
Well whatever, I think I'll look for another solution. lcc-win seems
very unstable and buggy, and the library won't work with Microsoft
Visual C/C++.
I compiled this:
#include <netutils.h>
int GetHttpUrl(char *URL, char *localfilename);
int main(void)
{
GetHttpURL("http://www.google.com/logos/holiday07_3.gif", "test.gif");
}
The command line is:
lc tnet.c netutils.lib winhttp.lib
and I have a gif in my current directory containing the logo of
google.
Yes that works, thanks.
So I guess the remaining questions are:
1) Is it possible to link properly from the IDE without using a DOS prompt?
2) Is there a similar function that will put the image into a memory
buffer instead of saving to a file, or should I use ReadFile()?
Thanks.