Hello
Check out this function in DBP
function download(w$,f$)
if file exist(f$) then delete file f$
load dll "urlmon",1
a=CALL DLL(1,"URLDownloadToFileA",0,w$,f$,0,0)
delete dll 1
ok=0
if a=0 then ok=1
endfunction ok
Can any of you guys give me some pointers on how I would go about writing the equivalent as a TPC DLL, as I have an idea for a plugin that would use this.
Thanks.
WE SHALL BECOME ALL POWERFUL! CRUSH THE LESSER RACES! CONQUER THE GALAXY! UNIMAGINABLE POWER! UNLIMITED RICE PUDDING ! ! ! ETC. ! ! ! ETC.! ! !