Click here to Skip to main content
15,906,081 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Problem with printing of bitmap pattern with CBrush Pin
basementman1-Jul-03 5:24
basementman1-Jul-03 5:24 
GeneralDeleting Files. Pin
Saty1-Jul-03 0:23
Saty1-Jul-03 0:23 
GeneralRe: Deleting Files. Pin
Ravi Bhavnani1-Jul-03 3:20
professionalRavi Bhavnani1-Jul-03 3:20 
GeneralRe: Deleting Files. Pin
basementman1-Jul-03 5:35
basementman1-Jul-03 5:35 
GeneralStarting .exe... Pin
macmac381-Jul-03 0:06
macmac381-Jul-03 0:06 
GeneralRe: Starting .exe... Pin
User 66581-Jul-03 0:15
User 66581-Jul-03 0:15 
GeneralRe: Starting .exe... Pin
Ryan Binns1-Jul-03 0:17
Ryan Binns1-Jul-03 0:17 
GeneralRe: Starting .exe... Pin
Dominik Reichl1-Jul-03 0:18
Dominik Reichl1-Jul-03 0:18 
macmac38 wrote:
how can i start another app from my application?

BOOL CreateProcess(
  LPCTSTR lpApplicationName,
                         // pointer to name of executable module
  LPTSTR lpCommandLine,  // pointer to command line string
  LPSECURITY_ATTRIBUTES lpProcessAttributes,  // process security attributes
  LPSECURITY_ATTRIBUTES lpThreadAttributes,   // thread security attributes
  BOOL bInheritHandles,  // handle inheritance flag
  DWORD dwCreationFlags, // creation flags
  LPVOID lpEnvironment,  // pointer to new environment block
  LPCTSTR lpCurrentDirectory,   // pointer to current directory name
  LPSTARTUPINFO lpStartupInfo,  // pointer to STARTUPINFO
  LPPROCESS_INFORMATION lpProcessInformation  // pointer to PROCESS_INFORMATION
);

macmac38 wrote:
After this i like to call the F4 Button?

You want to call the F4 button? I'm not sure what you mean... You can kill the process using the TerminateProcess function (you got the handle from CreateProcess). If you want to simulate a press to F4 you can use the SendInput or keybd_event functions.

-Dominik



_outp(0x64, 0xAD);
and
__asm mov al, 0xAD __asm out 0x64, al
do the same... but what do they do?? Wink | ;)

GeneralRe: Starting .exe... Pin
macmac381-Jul-03 1:12
macmac381-Jul-03 1:12 
GeneralRe: Starting .exe... Pin
User 66581-Jul-03 1:16
User 66581-Jul-03 1:16 
GeneralRe: Starting .exe... Pin
macmac381-Jul-03 1:56
macmac381-Jul-03 1:56 
GeneralRe: Starting .exe... Pin
Joan M1-Jul-03 3:21
professionalJoan M1-Jul-03 3:21 
GeneralRe: Starting .exe... Pin
macmac381-Jul-03 4:40
macmac381-Jul-03 4:40 
GeneralRe: Starting .exe... Pin
basementman1-Jul-03 5:52
basementman1-Jul-03 5:52 
GeneralDirectx and the VC++ .NET environment Pin
JamesLaing30-Jun-03 23:17
JamesLaing30-Jun-03 23:17 
GeneralDelete All folder and its contents Pin
rohit.dhamija30-Jun-03 22:54
rohit.dhamija30-Jun-03 22:54 
GeneralRe: Delete All folder and its contents Pin
Ryan Binns30-Jun-03 23:06
Ryan Binns30-Jun-03 23:06 
GeneralRe: Delete All folder and its contents Pin
Anonymous30-Jun-03 23:08
Anonymous30-Jun-03 23:08 
GeneralRe: Delete All folder and its contents Pin
Rickard Andersson2030-Jun-03 23:13
Rickard Andersson2030-Jun-03 23:13 
GeneralRe: Delete All folder and its contents Pin
Ryan Binns1-Jul-03 0:07
Ryan Binns1-Jul-03 0:07 
GeneralNot exactly C++ -> Setup Project Pin
Brian Delahunty30-Jun-03 22:36
Brian Delahunty30-Jun-03 22:36 
GeneralRe: Not exactly C++ -> Setup Project Pin
Rage30-Jun-03 23:20
professionalRage30-Jun-03 23:20 
GeneralRe: Not exactly C++ -> Setup Project Pin
Brian Delahunty30-Jun-03 23:37
Brian Delahunty30-Jun-03 23:37 
GeneralRe: Not exactly C++ -> Setup Project Pin
Brian Delahunty1-Jul-03 0:24
Brian Delahunty1-Jul-03 0:24 
GeneralOpenSSL Pin
Ravi Jadhav30-Jun-03 22:28
Ravi Jadhav30-Jun-03 22:28 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.