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

C / C++ / MFC

 
GeneralRe: Help! How to recover the VC++6.0 project without .res folder?? Pin
«_Superman_»19-Jun-09 16:41
professional«_Superman_»19-Jun-09 16:41 
GeneralRe: Help! How to recover the VC++6.0 project without .res folder?? Pin
Stuart Dootson20-Jun-09 13:49
professionalStuart Dootson20-Jun-09 13:49 
AnswerRe: Help! How to recover the VC++6.0 project without .res folder?? Pin
Alan Balkany22-Jun-09 4:11
Alan Balkany22-Jun-09 4:11 
QuestionHelp with threads. Pin
FISH78619-Jun-09 4:04
FISH78619-Jun-09 4:04 
AnswerRe: Help with threads. Pin
Chris Losinger19-Jun-09 4:27
professionalChris Losinger19-Jun-09 4:27 
GeneralRe: Help with threads. Pin
FISH78619-Jun-09 4:31
FISH78619-Jun-09 4:31 
GeneralRe: Help with threads. Pin
Chris Losinger19-Jun-09 4:38
professionalChris Losinger19-Jun-09 4:38 
AnswerRe: Help with threads. Pin
Ozer Karaagac19-Jun-09 4:54
professionalOzer Karaagac19-Jun-09 4:54 
Simply. You can consider to pass a pointer to an object instead of Window1. The object that wraps window handle value, should be managable by your main thread.
class AClassName
{
public:
    HWND hWindow;
};

AClassName* pACN new AClassName;
pACN->hWindow = Window1;

theApp.m_pThreads [0] = AfxBeginThread(Thread, pACN);

Then you can refer to pACN->hWindow in your thread function appropriately.

You may have to employ some synchronization technics, too.
AnswerRe: Help with threads. Pin
«_Superman_»19-Jun-09 16:48
professional«_Superman_»19-Jun-09 16:48 
GeneralRe: Help with threads. Pin
FISH78619-Jun-09 17:25
FISH78619-Jun-09 17:25 
QuestionCan we use registry for.. Pin
ramana.g19-Jun-09 2:56
ramana.g19-Jun-09 2:56 
AnswerRe: Can we use registry for.. Pin
Stuart Dootson19-Jun-09 3:09
professionalStuart Dootson19-Jun-09 3:09 
AnswerRe: Can we use registry for.. Pin
Chris Losinger19-Jun-09 3:40
professionalChris Losinger19-Jun-09 3:40 
AnswerRe: Can we use registry for.. Pin
Vaclav_19-Jun-09 14:11
Vaclav_19-Jun-09 14:11 
QuestionHow to write to the part of memory with no Writeable permission Pin
trungkiendt819-Jun-09 2:21
trungkiendt819-Jun-09 2:21 
AnswerRe: How to write to the part of memory with no Writeable permission Pin
molesworth19-Jun-09 2:36
molesworth19-Jun-09 2:36 
GeneralRe: How to write to the part of memory with no Writeable permission Pin
trungkiendt819-Jun-09 3:03
trungkiendt819-Jun-09 3:03 
GeneralRe: How to write to the part of memory with no Writeable permission Pin
Cedric Moonen19-Jun-09 3:05
Cedric Moonen19-Jun-09 3:05 
GeneralRe: How to write to the part of memory with no Writeable permission Pin
trungkiendt819-Jun-09 3:19
trungkiendt819-Jun-09 3:19 
GeneralRe: How to write to the part of memory with no Writeable permission Pin
molesworth19-Jun-09 4:36
molesworth19-Jun-09 4:36 
GeneralRe: How to write to the part of memory with no Writeable permission Pin
Stuart Dootson19-Jun-09 3:08
professionalStuart Dootson19-Jun-09 3:08 
GeneralRe: How to write to the part of memory with no Writeable permission Pin
norish19-Jun-09 6:04
norish19-Jun-09 6:04 
Questionproject setting Pin
transoft19-Jun-09 2:17
transoft19-Jun-09 2:17 
AnswerRe: project setting Pin
David Crow19-Jun-09 2:48
David Crow19-Jun-09 2:48 
AnswerRe: project setting Pin
Stuart Dootson19-Jun-09 3:05
professionalStuart Dootson19-Jun-09 3:05 

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.