I've got a DirectX application (but a 2D one) that runs with ActiveX on IE and NSAPI on everything else.
ActiveX is pretty simple COM; just find a sample and copy it. I thought VS2005 had a project template for an ATL Activex control, but I've looked and it just has one for MFC, which is a possibility if you can put up with bloated nastiness.
NS plugins also work in IE (I assume they still do), so that might be the better approach. All you get for using ActiveX is the automatic download and install and the code signing stuff, which is exactly what people distrust about it all. But both run native code, so both are free to have their wicked way with your files and computer if they so wish. MS just tried to introduce a bit of authentication into the scheme and everybody winged, even though it is in fact more secure than the alternative. (Actually Netscape had a similar scheme, but that's been long forgotten).
The question is: do you want any casual user to be able to visit a website and see whatever content it is, or is it just for specific users? If it's just for users that have installed your software, then your install can install your NSAPI based DLL in the appropriate browser directories and Bob's your auntie's lover.
ActiveX is pretty simple COM; just find a sample and copy it. I thought VS2005 had a project template for an ATL Activex control, but I've looked and it just has one for MFC, which is a possibility if you can put up with bloated nastiness.
NS plugins also work in IE (I assume they still do), so that might be the better approach. All you get for using ActiveX is the automatic download and install and the code signing stuff, which is exactly what people distrust about it all. But both run native code, so both are free to have their wicked way with your files and computer if they so wish. MS just tried to introduce a bit of authentication into the scheme and everybody winged, even though it is in fact more secure than the alternative. (Actually Netscape had a similar scheme, but that's been long forgotten).
The question is: do you want any casual user to be able to visit a website and see whatever content it is, or is it just for specific users? If it's just for users that have installed your software, then your install can install your NSAPI based DLL in the appropriate browser directories and Bob's your auntie's lover.


Comment