🎉 Celebrating 25 Years of GameDev.net! 🎉
Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!
How to Execute programm from programm ?
Relevent Win32 functions are CreateProcess and ShellExecute.
spawn and exec are two families of standard C calls.
spawn and exec are two families of standard C calls.
Hi !!
Well, a very quick and dirty way is to use WinExec !! This function should not be used anymore but works quite well under Windows 9x !! I don''t know about Windows 2000 or Windows NT. However if it''s not that professionell product I would use it, because it''s one line !! If you use CreateProcess you need to fill out some very big complicated structures.
Phillip
Well, a very quick and dirty way is to use WinExec !! This function should not be used anymore but works quite well under Windows 9x !! I don''t know about Windows 2000 or Windows NT. However if it''s not that professionell product I would use it, because it''s one line !! If you use CreateProcess you need to fill out some very big complicated structures.
Phillip
WinExec is a deprecated API function. Under Win32 it can lock up the spawning program under certain circumstances.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement