Thread: Run at startup
View Single Post
Old Apr 29th, 2005, 2:54 PM   #12
hipolito
Programmer
 
Join Date: Feb 2005
Posts: 41
Rep Power: 0 hipolito is on a distinguished road
??

Quote:
Originally Posted by Eggbert
You need to write a Win32 application without creating a window. Console mode programs will always open a console window-unless run from the command line-and leave it up until the program is finished.
Dont know if I understood it right....

My C application does not have a window, but still I need call it by passing 3 parameters, what I did was a .bat file calling the C program passing these parameters like this:

C:\program.exe par1 par2 par3

But when I execute this .bat file it comes up with the DOS window.... and that is what I dont want to happen. Maybe Im doing it wrong... is the .bat file the best way?

Thx again.
hipolito is offline   Reply With Quote