I have some code in a regular client-based app that calls a COM component
hosted in an EXE. For the code to work, the EXE must be running. This works
fine.
When I place the same code in a Web service (using IIS on my local computer)
and I invoke the COM component, it starts up another instance of the EXE
rather than use the already running EXE like it does in my client-based app.
What I need it to do is use the existing running instance of the EXE like in
the client-based app.
Note - using GetObject instead of CreatObject had not effect on the
component instantiation.
Any help or guidance would be appreciated.
hosted in an EXE. For the code to work, the EXE must be running. This works
fine.
When I place the same code in a Web service (using IIS on my local computer)
and I invoke the COM component, it starts up another instance of the EXE
rather than use the already running EXE like it does in my client-based app.
What I need it to do is use the existing running instance of the EXE like in
the client-based app.
Note - using GetObject instead of CreatObject had not effect on the
component instantiation.
Any help or guidance would be appreciated.
Comment