|
hmmm - good question - you got me to thinking about all kinds of ways maybe to "wrap" the DLL inside another loadable DLL or EXE ... but I think the big (basic) problem is this (and there is no way around it that I can think of right now) ... like all scripting languages, Kixtart needs to create that first "bootstrap" object through standard COM calls ... fe:
$Form = CreateObject("Kixtart.Form")
after that, in terms of Kixforms anyways, all subsequent objects are "pulled" out of this single object (buttons,textboxes,etc) ...
Kixtart's CreateObject function would call the standard COM CoCreateInstance API that first looks in HKEY_CLASSES_ROOT for the ProgID called Kixtart.Form ... it has to be there else this singleton CreateObject call will fail.
If we could handjob this single value into the registry (and maybe one or two others) the whole thing should work - just that I dont think we can even slip one value in there, let alone two or more ...
Not too sure why MS made it so difficult to use component object model components (in terms of registering them I mean) ... still thinking about this whole buisness ... there must be a work-around somehow ...
|