Hello,
My requirement is to launch a program (exe) automatically when the system boots. The program needs to run in minimised mode.So what I am doing is created a windows service, starting at automatic mode which will launch this program. I am using a createprocess to launch the program.
CreateProcess ( NULL,
processCCVName,
NULL,
NULL,
FALSE,
NORMAL_PRIORITY _CLASS,
NULL,
NULL,
&startCCV,
&processCCV )
My program links to some dlls, when it comes up. The problem I am experiencing is that the program is not able to find the dlls, when it is coming up.
Any help is highly appreciated. The Program that is being called is third party software and hence I cannot make any modifications to that.
My requirement is to launch a program (exe) automatically when the system boots. The program needs to run in minimised mode.So what I am doing is created a windows service, starting at automatic mode which will launch this program. I am using a createprocess to launch the program.
CreateProcess ( NULL,
processCCVName,
NULL,
NULL,
FALSE,
NORMAL_PRIORITY _CLASS,
NULL,
NULL,
&startCCV,
&processCCV )
My program links to some dlls, when it comes up. The problem I am experiencing is that the program is not able to find the dlls, when it is coming up.
Any help is highly appreciated. The Program that is being called is third party software and hence I cannot make any modifications to that.
Comment