1. CURL & SQLite
This is a multi-part message in MIME format.
------=_NextPart_000_0010_01C39A4A.AF9F83B0
charset="iso-8859-1"
Hello,
I had Curl working ok and decided to try SQLite . I copied my program and added
the sqlite routines. When I run the program it gives me an error no program ID
and points to statement
--printf(1, "attempting to download remote file %s to local file %s\n",
{remote_file,local_file })
-- set remote file to download
ret = curl_easy_setopt(curl, CURLOPT_URL, remote_file)
-- set callback function to receive data
++++++++++This is the line pointed to
rett = curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION,
call_back(routine_id("write_callback")))
I am confused
jvandal
------=_NextPart_000_0010_01C39A4A.AF9F83B0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: 8bit
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1264" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hello,</FONT></DIV>
<DIV><FONT face=Arial size=2>I had Curl working ok and decided to try
SQLite . I copied my program and added the sqlite routines. When I run the
program it gives me an error no program ID and points to statement </FONT></DIV>
<DIV><FONT face=Arial size=2>--printf(1, "attempting to download remote file %s
to local file %s\n", {remote_file,local_file })<BR>-- set remote file to
download<BR>ret = curl_easy_setopt(curl, CURLOPT_URL, remote_file)<BR>-- set
callback function to receive data</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>++++++++++This is the line pointed to</DIV>
<DIV><BR>rett = curl_easy_setopt(curl,
CURLOPT_WRITEFUNCTION,<BR>
call_back(routine_id("write_callback")))</DIV>
<DIV>I am confused</DIV>
<DIV> </DIV>
------=_NextPart_000_0010_01C39A4A.AF9F83B0--