One Aging Geek

Tuesday, April 06, 2004

SimpleScript Part Three: Engine Skeleton

SimpleScript Part Three: Engine Skeleton

I've uploaded two new files, engine.cpp and engine.h (and hooked it up to the class factory). Right now the engine code just knows how to create and destroy itself; no interfaces other than IUnknown are implemented. As you can see, over the next few entries I'm going to flesh out IActiveScript, IActiveScriptParse, IActiveScriptParseProcedure2 and IObjectSafety. I already covered the purpose of IObjectSafety in detail in my series 'Script and IE Security', which you can read in full by going to my security archive. Part Two has a description of the interface. Why are there three script interfaces instead of one, and what's with that '2'?