Current situation just after installing the components:
A ntservice executable (which runs in current user running space) connects to an activeX exe (using set object = new componentobject) and this works fine. component runs and does what it must do.
An other executable connects to the same activeX exe and also get the correct information from it.
Now it goes weird when I reboot the system and the ntservice program runs in the "system user" space. Its connect to the activeX exe and the component runs and does what it must do.
The problem arise at the moment a user startsup the normal executable. It connects to the activeX exe, but it cannot find it, starts another instance of it, so I have running 2 instances of the activeX exe, while in the first situation only 1 instance is running, which is the situation I like.
Does somebody have tips, or better, an example to retrieve the result that always just 1 instance of the activex exe is running, and not 2 or more??
All 3 execs are written in
VB 6 and also have tried the createobject function in several ways to get result
Thnx in advantage