I was able to run a dll using rundll32.exe .
Now I want to run it as a windows service but it doesn't seem to start and gets timeout.
I am not sure how I could pass the parameters.
Trying something along the lines of ..
sc.exe create service binPath= "c:\windows\system32\rundll32.exe -test.dll -Main"
Trying the suggestions from creating a service with sc.exe; how to pass in context parameters but it doesnt seem to work.
Any suggestions?
Thanks,
Karthik
service
? – hmjd