Click here to Skip to main content
15,891,033 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Find the exe name when loading dll Pin
Don Miguel11-Aug-05 3:30
Don Miguel11-Aug-05 3:30 
GeneralRe: Find the exe name when loading dll Pin
lynchspawn11-Aug-05 3:37
lynchspawn11-Aug-05 3:37 
GeneralRe: Find the exe name when loading dll Pin
ThatsAlok11-Aug-05 4:34
ThatsAlok11-Aug-05 4:34 
GeneralRe: Find the exe name when loading dll Pin
cmk11-Aug-05 4:03
cmk11-Aug-05 4:03 
GeneralRe: Find the exe name when loading dll Pin
David Crow11-Aug-05 5:35
David Crow11-Aug-05 5:35 
GeneralVisual C++/MFC Thread Question Pin
suzie10011-Aug-05 2:37
suzie10011-Aug-05 2:37 
GeneralRe: Visual C++/MFC Thread Question Pin
Achim Klein11-Aug-05 2:47
Achim Klein11-Aug-05 2:47 
GeneralRe: Visual C++/MFC Thread Question Pin
koothkeeper11-Aug-05 3:46
professionalkoothkeeper11-Aug-05 3:46 
Here is a useful link: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vcmfc98/html/_mfc_afxbeginthread.asp

Try something like this to get you started:

INT MyThread( LPVOID ptr );

int main( int argc, char** argv )
{
CWinThread* T;

DWORD dwWait;


T = AfxBeginThread( MyThread, NULL );

dwWait = WaitForSingleObject( T->m_hThread, INFINITE );

return 0;

}
/* main() */


INT MyThread( LPVOID ptr )
{
AfxMessageBox( "Hello, world!" );

return 0;

}

GeneralRe: Visual C++/MFC Thread Question Pin
Eytukan11-Aug-05 3:56
Eytukan11-Aug-05 3:56 
GeneralRe: Visual C++/MFC Thread Question Pin
Eytukan11-Aug-05 4:21
Eytukan11-Aug-05 4:21 
GeneralRe: Visual C++/MFC Thread Question Pin
ThatsAlok11-Aug-05 4:48
ThatsAlok11-Aug-05 4:48 
GeneralRe: Visual C++/MFC Thread Question Pin
Ravi Bhavnani11-Aug-05 11:08
professionalRavi Bhavnani11-Aug-05 11:08 
GeneralRe: Visual C++/MFC Thread Question Pin
suzie10011-Aug-05 13:50
suzie10011-Aug-05 13:50 
QuestionWhy doesn't CDC::StretchBlt() work properly, if both DCs are MemoryDCs ? Pin
Achim Klein11-Aug-05 2:27
Achim Klein11-Aug-05 2:27 
AnswerRe: Why doesn Pin
Chris Losinger11-Aug-05 3:15
professionalChris Losinger11-Aug-05 3:15 
GeneralRe: Why doesn Pin
Achim Klein11-Aug-05 3:30
Achim Klein11-Aug-05 3:30 
GeneralThread Problem Pin
Priyank Bolia11-Aug-05 2:11
Priyank Bolia11-Aug-05 2:11 
GeneralRe: Thread Problem Pin
SunKnight011-Aug-05 3:21
SunKnight011-Aug-05 3:21 
GeneralRe: Thread Problem Pin
HumanOsc11-Aug-05 5:39
HumanOsc11-Aug-05 5:39 
Questionstatic methods? Pin
Anonymous11-Aug-05 2:08
Anonymous11-Aug-05 2:08 
AnswerRe: static methods? Pin
Achim Klein11-Aug-05 2:14
Achim Klein11-Aug-05 2:14 
GeneralRe: static methods? Pin
Anonymous11-Aug-05 2:20
Anonymous11-Aug-05 2:20 
GeneralRe: static methods? Pin
Cedric Moonen11-Aug-05 2:32
Cedric Moonen11-Aug-05 2:32 
GeneralRe: static methods? Pin
Achim Klein11-Aug-05 2:33
Achim Klein11-Aug-05 2:33 
AnswerRe: static methods? Pin
toxcct11-Aug-05 3:30
toxcct11-Aug-05 3:30 

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.