Hi Kevin,
I would like to suggest the following change in the executant layer:
* Library: KExecutant.vcx
* Class: KExecutant
* Method: SetCOMEnvironment()
Here you have hardcoded SET RESOURCE OFF and other SETs. When testing the executant from the command window, this switches off my resource file and doesn't switch it back to on afterwards. So I have to do that manually after each test.
How about calling SetComEnvironment only, if the code is being run inside a COM DLL? Even the name itself suggests this - Set**COM**Environment <g>.
Here's the code for my suggestion (kexecutant.Init):
Old code:
This.CreateDataSession()
This.SetCOMEnvironment()
New code:
This.CreateDataSession()
IF MMIsComObject()
This.SetCOMEnvironment()
ENDIF
Regards,
Armin