Wednesday, March 24, 2010

Web Download Revisited

I'm in the process of switching my web download system over to pure native code. I suppose my use of the phrase "Internet Explorer Components" opens the risk of giving a bad impression; one that I'm using ActiveX and will be leaving your PC exposed to virus attacks. This isn't the case and in reality it's just a DLL that wraps the underlying network transport, which is really no different to the underlying network transport used for anything else.

At the same time the damage is done so far as IE is concerned, and I do want to avoid anyone getting the wrong idea about what the code is and what it does. So pure native it is, and this has some additional advantages in that chunks of the code can be greatly simplified. The main thing is that it no longer requires a COM object to handle the progress notification callback, which was sort of a case of the "OOP Zombies" thing I've mentioned before.



Anyway, the basic code is complete and functional, and has been tested through a proxy server. I'm going to test and confirm it through dial-up later on, and then migrate it across to the main codebase.

Update: works.

0 comments: