I have successfully used libcurl for some processes, but for a new task, I have uncovered two issues: curl_easy_setopt(hCurl, HB_CURLOPT_FOLLOWLOCATION, 1L) . When trying to compile this, Harbour errors at the L ( in 1L ). This is a standard call. curl_easy_setopt(hCurl, ...