Compiler problem with API Function URLDownloadToFile

Started by Martin Francom, November 07, 2011, 10:07:58 PM

Previous topic - Next topic

Martin Francom


   I am converting a very simple FF31/PB9 program that used the WinAPI and would
compile just fine using FF31/PB9/WinAPI   But when I compile using FF35/PB10/JoseAPI
I get the following compile error.  See screen print:

   Any suggestion?   I have attached the project file.

José Roca

Use


If UrlDownloadToFile(NOTHING, URLPath, LocalPath, 0, NOTHING) = 0 Then


The one in the PB include files is wrongly declared because they don't have support for low-level COM interfaces.

Jim Dunn

"NOTHING"

Couldn't remember how to get URLDOWNLOADTOFILE working, appreciate this post!!  : )
3.14159265358979323846264338327950
"Ok, yes... I like pie... um, I meant, pi."