This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- ServiceStartService - need to adjust timeout?
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Oct 01, 2010
03:47 PM
ServiceStartService - need to adjust timeout?
The documentation for ServiceStartService says:
To force the function to return after a specific time interval, regardless of whether the service has started, you can change the nStartServiceWaitCount member of the structured variable SERVICE_IS_PARAMS to the appropriate time in seconds.
Is it necessary to do this? Its possible my (in-house created) service will hang or whatnot, will that prevent this function from returning?
If yes, how do you modify SERVICE_IS_PARAMS?
Thanks
To force the function to return after a specific time interval, regardless of whether the service has started, you can change the nStartServiceWaitCount member of the structured variable SERVICE_IS_PARAMS to the appropriate time in seconds.
Is it necessary to do this? Its possible my (in-house created) service will hang or whatnot, will that prevent this function from returning?
If yes, how do you modify SERVICE_IS_PARAMS?
Thanks
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
May 24, 2012
07:52 AM
Good question, I'd like to know the answer too as it looks like the parameter we need has been removed but not from the documentation.
![](/skins/images/A5EADE085F77DE82FB3B14D6B307AE6A/responsive_peak/images/icon_anonymous_message.png)