Has anyone sucessfully written an activeX web control in asm. I'm trying to write a very small < 5K activeX web control and sign it for web distribution.

Cheers

T
Posted on 2002-11-01 03:45:33 by timkempster
I have, but I afraid I cannot explain in a few words.

You have to deal heavily with COM and need to implement at least this interfaces:

IViewObject
IOleObject
IOleInPlaceObject
IClassFactory

IPersistPropertyBag (for accessing HTML parameters)
IBindStatusCallback (for load progress viewing)

I can try to answer some of your questions, if you are interested I can send you also some code snippets.
Posted on 2002-11-01 05:00:52 by beaster
beaster:

Some sample code would be fantastic. I'm really stuck with this one. I've not had much experience with COM so any help would be much apreciated. I might be able to bung you some money too I'll need to speak to my boss though.

Cheers
Posted on 2002-11-01 05:16:19 by timkempster
While it is in C++, sean's inconsequential pages has a good series of pages devoted to OLE controls (ie, activeX controls).

I converted some of his work to ASM using CoLib, you'll find it in the MASM32 package at \masm32\COM\examples\AsmCtrl\ (after you expand the CoLib .zip file that is)
Posted on 2002-11-03 08:37:51 by Ernie
to timkempster: I have send you a private message with some more detailed info...
Posted on 2002-11-05 03:45:57 by beaster