Hi Antonio.
These are the errors I receive.
Type: C >>>xhb.exe -o"c\mail.c" -m -n -p -q -gc0 -I"C:\fwh\include" -I"C:\xHB\include" -I"C:\xHB\include\w32" "mail.prg"<<<
xHarbour Compiler build 1.0.0 (SimpLex)
Copyright 1999-2007,
http://www.xharbour.org http://www.harbour-project.org/
Generating object output to 'c\mail.obj'...
Type: C >>>xlink.exe -NOEXPOBJ -MAP -FORCE:MULTIPLE -NOIMPLIB -subsystem:windows -UNMANGLE -LIBPATH:"C:\xHB\lib" -LIBPATH:"C:\xHB\c_lib" -LIBPATH:"C:\xHB\c_lib\win" -LIBPATH:"C:\fwh\lib" "c\mail.obj" "hbcurl.lib" "FiveHCM.lib" "FiveHMX.lib" "OptG.lib" "xhb.lib" "dbf.lib" "ntx.lib" "cdx.lib" "rmdbfcdx.lib" "ct3.lib" crt.lib kernel32.lib user32.lib winspool.lib ole32.lib oleaut32.lib odbc32.lib odbccp32.lib uuid.lib wsock32.lib ws2_32.lib wininet.lib advapi32.lib shlwapi.lib msimg32.lib mpr.lib comctl32.lib comdlg32.lib gdi32.lib shell32.lib winmm.lib lz32.lib Netapi32.lib -out:"test.exe"<<<
xLINK: error: Unresolved external symbol '__imp__curl_global_init_mem'.
xLINK: error: Unresolved external symbol '__imp__curl_global_cleanup'.
xLINK: error: Unresolved external symbol '__imp__curl_easy_duphandle'.
xLINK: error: Unresolved external symbol '__imp__curl_easy_init'.
xLINK: error: Unresolved external symbol '__imp__curl_easy_setopt'.
xLINK: error: Unresolved external symbol '__imp__curl_easy_cleanup'.
xLINK: error: Unresolved external symbol '__imp__curl_easy_reset'.
xLINK: error: Unresolved external symbol '__imp__curl_formfree'.
xLINK: error: Unresolved external symbol '__imp__curl_slist_free_all'.
xLINK: error: Unresolved external symbol '__imp__curl_easy_pause'.
xLINK: error: Unresolved external symbol '__imp__curl_easy_perform'.
xLINK: error: Unresolved external symbol '__imp__curl_easy_send'.
xLINK: error: Unresolved external symbol '__imp__curl_easy_recv'.
xLINK: error: Unresolved external symbol '__imp__curl_formadd'.
xLINK: error: Unresolved external symbol '__imp__curl_slist_append'.
xLINK: error: Unresolved external symbol '_dv_memcpy'.
xLINK: error: Unresolved external symbol '__imp__curl_easy_getinfo'.
xLINK: error: Unresolved external symbol '_hb_arraySetC'.
xLINK: error: Unresolved external symbol '_hb_itemReturnRelease'.
xLINK: error: Unresolved external symbol '__imp__curl_easy_escape'.
xLINK: error: Unresolved external symbol '__imp__curl_free'.
xLINK: error: Unresolved external symbol '__imp__curl_easy_unescape'.
xLINK: error: Unresolved external symbol '__imp__curl_version'.
xLINK: error: Unresolved external symbol '__imp__curl_version_info'.
xLINK: error: Unresolved external symbol '_hb_arraySetNI'.
xLINK: error: Unresolved external symbol '__imp__curl_easy_strerror'.
xLINK: error: Unresolved external symbol '__imp__curl_getdate'.
xLINK: error: Unresolved external symbol '__imp__curl_escape'.
xLINK: error: Unresolved external symbol '__imp__curl_unescape'.
xLINK: fatal error: 29 unresolved external(s).
Type: C >>>Couldn't build: test.exe<<<
Type: C >>>TMAKEPROJECT<<<
Type: C >>>TMAKEPROJECT:REFRESH<<<
Type: N >>> 1322<<<