Click here to Skip to main content
15,921,694 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionlaoding bitmap over a bitmap Pin
a_david12331-Aug-05 0:13
a_david12331-Aug-05 0:13 
QuestionFile in a resource Pin
Imtiaz Murtaza31-Aug-05 0:09
Imtiaz Murtaza31-Aug-05 0:09 
AnswerRe: File in a resource Pin
ThatsAlok31-Aug-05 1:30
ThatsAlok31-Aug-05 1:30 
Questionworker thread Pin
BaShOr30-Aug-05 23:42
BaShOr30-Aug-05 23:42 
AnswerRe: worker thread Pin
Bob Ciora31-Aug-05 1:17
Bob Ciora31-Aug-05 1:17 
GeneralRe: worker thread Pin
Bob Stanneveld31-Aug-05 8:03
Bob Stanneveld31-Aug-05 8:03 
QuestionHow to wrap one .EXE inside another Pin
Trollslayer30-Aug-05 23:25
mentorTrollslayer30-Aug-05 23:25 
AnswerRe: How to wrap one .EXE inside another Pin
greenwyx30-Aug-05 23:41
greenwyx30-Aug-05 23:41 
you can try the following code to the a message function.
{
PROCESS_INFORMATION pi;
STARTUPINFO si;
memset(&si,0,sizeof(si));
si.cb=sizeof(si);
si.wShowWindow=SW_SHOW;
si.dwFlags=STARTF_USESHOWWINDOW;

BOOL fRet=CreateProcess(NULL,
"c:\\windows\\notepad.exe c:\\autoexec.bat",
//the notepad.exe can be repalced to other .exe NULL,
NULL,
FALSE,
NORMAL_PRIORITY_CLASS|CREATE_NEW_CONSOLE,
NULL,
NULL,
&si,
&pi);

if(!fRet)
{
LPVOID lpMsgBuf;
FormatMessage(FORMAT_MESSAGE_ALLOCATE_BUFFER |
FORMAT_MESSAGE_FROM_SYSTEM |
FORMAT_MESSAGE_IGNORE_INSERTS,
NULL,
GetLastError(),
MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT), // Default language
(LPTSTR) &lpMsgBuf,
0,
NULL );
AfxMessageBox( (LPCTSTR)lpMsgBuf);
LocalFree( lpMsgBuf );

}
else
{
AfxMessageBox("CreateProcess susceesfully");
m_hPro=pi.hProcess;
}
AnswerRe: How to wrap one .EXE inside another Pin
Eytukan31-Aug-05 0:04
Eytukan31-Aug-05 0:04 
GeneralRe: How to wrap one .EXE inside another Pin
Trollslayer31-Aug-05 1:13
mentorTrollslayer31-Aug-05 1:13 
AnswerRe: How to wrap one .EXE inside another Pin
ThatsAlok31-Aug-05 1:32
ThatsAlok31-Aug-05 1:32 
GeneralRe: How to wrap one .EXE inside another Pin
Trollslayer31-Aug-05 1:39
mentorTrollslayer31-Aug-05 1:39 
JokeRe: How to wrap one .EXE inside another Pin
Eytukan31-Aug-05 1:45
Eytukan31-Aug-05 1:45 
JokeRe: How to wrap one .EXE inside another Pin
toxcct31-Aug-05 2:01
toxcct31-Aug-05 2:01 
GeneralRe: How to wrap one .EXE inside another Pin
ThatsAlok31-Aug-05 2:10
ThatsAlok31-Aug-05 2:10 
GeneralRe: How to wrap one .EXE inside another Pin
Eytukan31-Aug-05 3:57
Eytukan31-Aug-05 3:57 
JokeRe: How to wrap one .EXE inside another Pin
toxcct31-Aug-05 4:33
toxcct31-Aug-05 4:33 
JokeRe: How to wrap one .EXE inside another Pin
ThatsAlok31-Aug-05 19:13
ThatsAlok31-Aug-05 19:13 
GeneralRe: How to wrap one .EXE inside another Pin
toxcct31-Aug-05 21:02
toxcct31-Aug-05 21:02 
JokeRe: How to wrap one .EXE inside another Pin
ThatsAlok31-Aug-05 19:14
ThatsAlok31-Aug-05 19:14 
Questionhow to convert a integer from hex to decimal Pin
xiaohe52130-Aug-05 23:06
xiaohe52130-Aug-05 23:06 
AnswerRe: how to convert a integer from hex to decimal Pin
toxcct30-Aug-05 23:16
toxcct30-Aug-05 23:16 
AnswerRe: how to convert a integer from hex to decimal Pin
Cedric Moonen30-Aug-05 23:16
Cedric Moonen30-Aug-05 23:16 
AnswerRe: how to convert a integer from hex to decimal Pin
Marc Soleda30-Aug-05 23:23
Marc Soleda30-Aug-05 23:23 
GeneralRe: how to convert a integer from hex to decimal Pin
xiaohe52130-Aug-05 23:41
xiaohe52130-Aug-05 23:41 

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.