In-Proc ActiveX server?
Posted on 1997-05-21
Hi y'all, ActiveX question here.
Say I've got an in-proc ActiveX server that supports ActiveX Automation.
Now say that I want to write automation scripts in various ActiveX-compatible languages that access the in-proc server. (I'm specifically concerned about Lotusscript and Lotus Notes.)
Now, say that these scripts are going to be called and terminated repeatedly, losing all their states each time they are terminated.
What is the most performant way for a script to connect to an ActiveX in-proc server running this way? If each script starts out with a
server = CreateObject("serverapp.Application") or whatever, will it incur a large performance penalty? Can you even use an in-proc server this way?
And specifically for Notes, is there any way to keep the handle to my ActiveX in-proc server around between script (agent) invocations?
Answers will result in gratuitous "thank you"s.
Director of Engineering