Build 4.5.0.53 of xlsgen introduces a special mode, the keep mode, for the
isolated server (xlsgen.exe).
When used, the keep mode avoids that the working process kills itself after the running engine instance is out of scope (the scope is under the control of the client application). This mode also enforces strict apartment related to COM object method call marshalling.
How to activate this mode ?
Just register the isolated server as a COM object using a command-line script, adding the /K option to it, as in :
<path>\xlsgen.exe /K /REGSERVER
Put this in a .BAT file, then right-click on it and choose Run as Administrator.
Upon registration, a message box appears to confirm completion.