I am using the RTF control in vc++ for my simple text document purpose.
I get the problem using Pressing the Esc key and i can't get the Keycode from on Keyup and Keydown events. Any one can solve this send to me.
I create a child process with the CreateProcess API and wait for its execution with WaitForSingleObject. How can I get the return code of that process. For instance my main program is MainProg, it starts ChildExe and ChildExe finds some problems and returns 34; How can MainProg know that return code?
Does someone know if (and how) I can change the output language of my visual c++ compiler? I got a new computer from our sysadmin and he installed visual studio in german ... now are also the compiler outputs in german which makes it hard to search on google ... also I'm not used to this
// Create the second thread.
hThread = (HANDLE)_beginthread( NULL, 0, &SecondThreadFunc, NULL, 0, &threadID );
// Wait until second thread terminates. If you comment out the line
// below, Counter will not be correct because the thread has not
// terminated, and Counter most likely has not been incremented to
// 1000000 yet.
WaitForSingleObject( hThread, INFINITE );
// Destroy the thread object.
CloseHandle( hThread );