troubleshooting Question

service/app comms

Avatar of fparie
fparie asked on
Programming Languages-OtherVisual Basic Classic
7 Comments1 Solution204 ViewsLast Modified:

I am trying to establish event driven communication between a service and and a configuration app.

I made a small ActiveX exe (one class). The service will create an instance of this class and thus launch the ax exe. When the config app is started it will also create an instance of the same class which (through use of the apartment threading model) will be replaced the same instance as the service is using.

However, things go wrong before when the config app creates an instance of the beforementioned class. It always starts a new copy of the ax exe (although i have multiuse set). To make sure i ran the service and the config app in the same user context by alas...

the service is created in VB6 using the ntsvc.ocx. the config app is a VB6 standard exe.

what am i looking for? communication between the two, event driven (if possible, polling is an option).

thanks in advance!


Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 7 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 7 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros