Hi kcareo,
So you got the service control handler working, did you (
link to thread)? Good for you.
It seems to me that your problem now is quite simple: you also need to
handle the service start message in you handler. In fact, you may need
to implement handlers for other control functions as well. But, once
you've managed to get a working handler function, it should just a
matter of properly responding to the control argument. Depending on
what you need to do, you could either set up another occurrence, create
some mechanism to pass the argument into LabVIEW, or simply respond
from the C code.
Jason