Among other things the typelib for engine.dll contains the interface for the script compiler:
[
uuid(32A78C7C-FF50-47A3-A669-317F8AAE24F1),
helpstring("Eclipse Engine Script Compiler Interface"),
dual,
nonextensible
]
dispinterface IEngScriptCompiler {
properties:
methods:
[id(0x00000001), helpstring("Compile a list of scripts")]
void CompileScripts(
[in] IEnumString* a_pScripts,
[in] long a_bGenerateDebuggerOutput,
[in] long a_bIgnoreMainError,
[in] IUnknown* a_pExportManager,
[in] long a_bIsClientScript);
};
However, the interface for the export manager (parameter a_pExportManager) is not contained in the typelib, which makes it impossible to call the compiler from outside the toolset (say, from a command line wrapper or a source code editor) or to substitute a real compiler for the thing contained in the toolset. Either option could be very useful when dealing with scripts, but without knowing the interface there is little we can do... Does anyone have any info?
FWIW, it seems that the normal way of obtaining an export manager is to call TsGetExportManager() in framework.dll with iid {AB0D6320-CC78-4A59-8063-411B503A7402}.





Nach oben






