Win32 Svc!

  • Thread starter Thread starter Vai2000
  • Start date Start date
V

Vai2000

How do I add a dependency on a Win32 in C#? My WinSvc depends on MSMQ
Service

TIA
 
Your service project probably includes a ServiceInstaller instance so you
can install the service using the InstallUtil. That object has a property
named "ServicesDependedOn" which is a string array. Just add the name of the
MSMQ service in here.

Ken
 
Thank you my friend.


Ken Kolda said:
Your service project probably includes a ServiceInstaller instance so you
can install the service using the InstallUtil. That object has a property
named "ServicesDependedOn" which is a string array. Just add the name of the
MSMQ service in here.

Ken
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

MSMQ! 2
MSMQ Async Receive 3
Multi MSMQ 1
File IO Race!! 9
Please Help!! 2
Win32 DLL with C# 1
MSMQ binding Stop processing after Cluster MSMQ failover 0
calling aspnet DLL 2

Back
Top