Call another program from my project ??
-
I have Help->Contents menu in my project. And I have a help.hlp file. What I need is : On click of the contents menu, I need to display this help.hlp file. How do i do it ?? Could someone help me on this, please. I thank in advance. Mughi
::WinHelp(0,".\\MY.HLP",HELP_CONTEXT,19028);
-
::WinHelp(0,".\\MY.HLP",HELP_CONTEXT,19028);
-
Its working. Thanks for your support. And by the way, I would like to know on how to run any other program, not only HLP files but also to invoke other files like documents, executables, etc., Once again, I thank you for your support.
there are two ways: if you do NOT need control over the other programm use WinExec if you need the control, to determine, wheter the other programm is still running use CreateProcess / OpenProcess / WaitForSingleObject
-
Its working. Thanks for your support. And by the way, I would like to know on how to run any other program, not only HLP files but also to invoke other files like documents, executables, etc., Once again, I thank you for your support.
ShellExecute (...) Try above mantioned Win32 Shell API. Jitendra :)
-
there are two ways: if you do NOT need control over the other programm use WinExec if you need the control, to determine, wheter the other programm is still running use CreateProcess / OpenProcess / WaitForSingleObject
-
ShellExecute (...) Try above mantioned Win32 Shell API. Jitendra :)