We help IT Professionals succeed at work.

using createservice

DickJonesOCP
DickJonesOCP asked
on
Medium Priority
388 Views
Last Modified: 2010-04-04
Hi experts,
Has anyone got a code example of how to use CREATESERVICE. I'm getting stuck with the lpDependencies (what the heck do I put in it). :(
Thanks,
DJ
Comment
Watch Question

Commented:
Most probably You should  place there nil meaning that Your service doesn't require any service started before by the system.
Commented:
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION

Author

Commented:
mokule,
dependencies doesn't like the value NULL or nil or anything else I've tried. It comes up with a message 'incompatible types STRING and PDWORD' ??

help !

Commented:
place empty string

Author

Commented:
tried that, same message :(
and an emtpy pdword

Author

Commented:
Aha worked with a 0, gave you the points coz u came up with a descriptor (even though I had it anyway) but thanks for your help,
All the best,
DJ
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.