Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DLL Talk / Downloading files from the internet in a dll

Author
Message
Mnemonix
21
Years of Service
User Offline
Joined: 2nd Dec 2002
Location: Skaro
Posted: 23rd Nov 2005 15:26
Hello

Check out this function in DBP



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.! ! !
IanG
19
Years of Service
User Offline
Joined: 25th Sep 2004
Location: Cyberspace
Posted: 23rd Nov 2005 17:13
you could do it by calling the windows api function or you could load it up as a dll and run it, i'd use the api version as it is easier


amd athlon xp 2600+,1280mb,FX 5200 128mb,200gb,xp pro sp2
Mnemonix
21
Years of Service
User Offline
Joined: 2nd Dec 2002
Location: Skaro
Posted: 23rd Nov 2005 18:03
Ive done it now thank you

I used the windows api function in urlmon.lib to do it. This will work wonders for my plugin.

WE SHALL BECOME ALL POWERFUL! CRUSH THE LESSER RACES! CONQUER THE GALAXY! UNIMAGINABLE POWER! UNLIMITED RICE PUDDING ! ! ! ETC. ! ! ! ETC.! ! !
Benjamin
21
Years of Service
User Offline
Joined: 24th Nov 2002
Location: France
Posted: 23rd Nov 2005 18:51 Edited at: 23rd Nov 2005 18:51
Now make it asynchronous and you'll be all set.

Tempest - P2P UDP Multiplayer Plugin - 62%

Login to post a reply

Server time is: 2024-05-07 02:56:57
Your offset time is: 2024-05-07 02:56:57