Newsgroups : Borland : borland.public.delphi.nativeapi.win32 : 2005 Oct : CreateProcess in a service

www.cryer.info
Managed Newsgroup Archive

CreateProcess in a service

Subject:CreateProcess in a service
Posted by:"Heiko Tappe" (tap..@transdata.net)
Date:Fri, 7 Oct 2005 18:33:59 +0200

I have written a service which works quite nice so far ;-)
But I need to run another application from within this service application.
Usually that isn't a problem either: just use CreateProcess and that's it.
BUT the application to be run in this case is linked to several libraries in
some other directory.
How can I define a search path for the CreateProcess command?
Or what else has to be done?

--Heiko

Glossary

Replies:

www.cryer.info
Managed Newsgroup Archive