Opening Another Program
Well, before you even start typing a reply saying use "system()" or "CreateProcess()" listen.
I am doing this for my robot in the science fair. I am designing two programs one will be my MAIN program which will control all the aspects of my robot like starting the voice and other things like that. It will be a Console Application. My second is going to be Windows Forms, but I want to be able to open it from my MAIN program.
The issue that I have is that when I use system() or CreateProcess() they cause my MAIN program to stop and wait for my second one to finish. Is there anyway I can open my secondary program while my MAIN keeps cycling through the commands?
Oh my fucking god you stole my avatar. GTFO!
I'm your alter ego if you will
Thanks for the help.
I cant believe alter egos are fighting lol.
Sorry for the double post, but would I use CreateProcess to open a picture?
What is the command to close something as well?
I know C++ but not too much, from 1-10 im probably a 3.
This is all for my robot.
I basically want to Display a Splash Screen like what pinball does and then close it.
You use CreateProcess to open whatever picture viewer you're using to view the picture, so yes.
Closing processes: TerminateProcess()
Well, lets say its a BMP formatted picture.
Look up the structure of BMP and use SetPixel/GDI functions to draw over your screen. Or I'm pretty sure you can find an already coded function to draw a picture to your screen.