Hello, I want to override internet explorer download manager function. I've managed to implement IDownloadManager interface in c# and registered COM, so that i can catch the download event and perform custom action. I also have existing download manager application.
My concern is whether the IDownloadManager implementation should be part of my application or rather separate project that only communicates with my download manager. I would preffer one application approach, but I don't konw how should be implemented.
The main problem I see is that I want to have only one instance of download manager running, so from the COM code I should probably:
1) check whether the instance is already running(using GetWindow from winapi?), if not then start it.
2) pass the download url to the instance.
This should work but I'm unexperienced with winapi and i suspect there might be a better way to do this. Any hints? Thansk, Matt