Click here to Skip to main content
15,914,322 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: show/hide button in Win32 Pin
HOW WHAT30-Jun-06 16:46
HOW WHAT30-Jun-06 16:46 
QuestionCPU uasage is very high for Application Pin
zahid_ash30-Jun-06 1:42
zahid_ash30-Jun-06 1:42 
AnswerRe: CPU uasage is very high for Application Pin
Cedric Moonen30-Jun-06 1:46
Cedric Moonen30-Jun-06 1:46 
AnswerRe: CPU uasage is very high for Application Pin
Hamid_RT30-Jun-06 2:33
Hamid_RT30-Jun-06 2:33 
AnswerRe: CPU uasage is very high for Application Pin
neilsolent30-Jun-06 11:56
neilsolent30-Jun-06 11:56 
QuestionA (simple) MFC DLL Question Pin
Dave Kerr30-Jun-06 0:53
Dave Kerr30-Jun-06 0:53 
QuestionRe: A (simple) MFC DLL Question Pin
Sarath C30-Jun-06 0:58
Sarath C30-Jun-06 0:58 
AnswerRe: A (simple) MFC DLL Question Pin
Dave Kerr30-Jun-06 1:17
Dave Kerr30-Jun-06 1:17 
CreateThread gives exactly the same problem. I am convinced it is a memory issue. The first part of the thread process is:

{
AFX_MANAGE_STATE(AfxGetStaticModuleState());

// Cast the data.
CThreadFunction* pFunction = reinterpret_cast<cthreadfunction*>(pData);

// Assert it is the correct type.
ASSERT_KINDOF(CThreadFunction, pFunction);

// Do the work.
UINT uError = pFunction->DoFunction();

...

However when I examine pFunction in the memory window, the memory looks to be " .Anywhere.dll _AFX_MANAGE_STATE.." so the pointer is definately not pointing to the correct address.

Any ideas?

Dave Kerr
codechamber@hotmail.com
http://www.codechamber.com
Questionpicture Pin
ashish dogra30-Jun-06 0:36
ashish dogra30-Jun-06 0:36 
AnswerRe: picture Pin
Sarath C30-Jun-06 0:46
Sarath C30-Jun-06 0:46 
AnswerRe: picture Pin
_AnsHUMAN_ 30-Jun-06 0:55
_AnsHUMAN_ 30-Jun-06 0:55 
AnswerRe: picture Pin
Hamid_RT30-Jun-06 1:13
Hamid_RT30-Jun-06 1:13 
GeneralRe: picture Pin
yogendra kaushik30-Jun-06 1:56
yogendra kaushik30-Jun-06 1:56 
GeneralRe: picture Pin
Viorel.30-Jun-06 2:26
Viorel.30-Jun-06 2:26 
GeneralRe: picture Pin
Hamid_RT30-Jun-06 2:34
Hamid_RT30-Jun-06 2:34 
GeneralRe: picture Pin
Hamid_RT30-Jun-06 2:33
Hamid_RT30-Jun-06 2:33 
AnswerRe: picture Pin
David Crow30-Jun-06 2:31
David Crow30-Jun-06 2:31 
Questionhow we get the path of a file Pin
happy_ram30-Jun-06 0:34
happy_ram30-Jun-06 0:34 
QuestionRe: how we get the path of a file Pin
Sarath C30-Jun-06 0:48
Sarath C30-Jun-06 0:48 
AnswerRe: how we get the path of a file Pin
happy_ram30-Jun-06 1:08
happy_ram30-Jun-06 1:08 
GeneralRe: how we get the path of a file Pin
_AnsHUMAN_ 30-Jun-06 1:13
_AnsHUMAN_ 30-Jun-06 1:13 
QuestionRe: how we get the path of a file Pin
Hamid_RT30-Jun-06 1:15
Hamid_RT30-Jun-06 1:15 
AnswerRe: how we get the path of a file Pin
happy_ram30-Jun-06 1:27
happy_ram30-Jun-06 1:27 
GeneralRe: how we get the path of a file Pin
Hamid_RT30-Jun-06 2:03
Hamid_RT30-Jun-06 2:03 
GeneralRe: how we get the path of a file Pin
happy_ram30-Jun-06 2:24
happy_ram30-Jun-06 2:24 

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.