|
From: Yohaan H. <jsh...@ho...> - 2007-02-14 00:13:02
|
I am still learning C++ as well as the Dev-Cpp program. I got a little bit
confused at the beginning and am now able to perhaps ask the right
questions.
the first rather simple one is how would i call a second cpp program from
the first? as in if (a=1) then open second program?
the second regarding the main.c program
hwnd = CreateWindowEx(
0, /* Extended possibilites for variation */
szClassName, /* Classname */
"Windows Example", /* Title Text */
WS_OVERLAPPEDWINDOW, /* defaultwindow */
CW_USEDEFAULT, /* Windows decides the position */
CW_USEDEFAULT, /* where the window end up on the screen */
544, /* The programs width */
375, /* and height in pixels */
HWND_DESKTOP, /* The window is a childwindow to desktop */
NULL, /* No menu */
hThisInstance, /* Program Instance handler */
NULL /* No Window Creation data */
);
where NULL is what would i use to state that their is Window Creation data
would this qualify as a call to a second program?
_________________________________________________________________
Dont miss your chance to WIN 10 hours of private jet travel from Microsoft
Office Live http://clk.atdmt.com/MRT/go/mcrssaub0540002499mrt/direct/01/
|