Click here to Skip to main content
15,920,836 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Thread Pin
toxcct2-Apr-08 0:05
toxcct2-Apr-08 0:05 
QuestionRe: Thread Pin
Member 34205092-Apr-08 2:21
Member 34205092-Apr-08 2:21 
GeneralRe: Thread Pin
Maximilien2-Apr-08 3:00
Maximilien2-Apr-08 3:00 
GeneralRe: Thread Pin
Member 34205092-Apr-08 23:01
Member 34205092-Apr-08 23:01 
GeneralRe: Thread Pin
Hamid_RT7-Apr-08 3:51
Hamid_RT7-Apr-08 3:51 
QuestionMessgeBoxIndirect ( ) is causing a crash? Pin
RamaraoPV1-Apr-08 23:15
RamaraoPV1-Apr-08 23:15 
GeneralRe: MessgeBoxIndirect ( ) is causing a crash? Pin
Cedric Moonen1-Apr-08 23:27
Cedric Moonen1-Apr-08 23:27 
QuestionRe: MessgeBoxIndirect ( ) is causing a crash? Pin
RamaraoPV2-Apr-08 0:07
RamaraoPV2-Apr-08 0:07 
Hi Cedric Moonen,
InitThunk((TMFP) &CExtBox::HookProc, this);
m_hHook = SetWindowsHookEx(WH_CBT, (HOOKPROC) GetThunk(), NULL,GetCurrentThreadId());
ASSERT(m_hHook);
nRes = MessageBoxIndirect(&mp);
if(m_hHook)
UnhookWindowsHookEx(m_hHook);

This is the code part i am using and it was crashing when it calls MessageBoxIndirect().

This code was running from a long time now in fresh version of release this is giving problem. If i use MessageBox( ) then it is working but the function that i am calling is used in somany places so i cannot avoid it.

It is giving the following Application error
Event Type: Error
Event Source: Application Error
Event Category: (100)
Event ID: 1000
Date: 3/13/2008
Time: 7:14:39 AM
User: N/A
Computer: SILT06-FERG
Description:
Faulting application Acp.exe, version 5.2.1002.21, faulting module unknown, version 0.0.0.0, fault address 0x01f5f968.
Data:
0000: 41 70 70 6c 69 63 61 74 Applicat
0008: 69 6f 6e 20 46 61 69 6c ion Fail
0010: 75 72 65 20 20 41 63 70 ure Acp
0018: 2e 65 78 65 20 35 2e 32 .exe 5.2
0020: 2e 31 30 30 32 2e 32 31 .1002.21
0028: 20 69 6e 20 75 6e 6b 6e in unkn
0030: 6f 77 6e 20 30 2e 30 2e own 0.0.
0038: 30 2e 30 20 61 74 20 6f 0.0 at o
0040: 66 66 73 65 74 20 30 31 ffset 01
0048: 66 35 66 39 36 38 f5f968

I do not know how to check the callstack so please suggest me now what can i do?

Thanks & Regards,
Ramarao.
GeneralListbox and files Pin
Chandrasekharan P1-Apr-08 22:36
Chandrasekharan P1-Apr-08 22:36 
GeneralRe: Listbox and files Pin
Rajkumar R1-Apr-08 22:42
Rajkumar R1-Apr-08 22:42 
GeneralRe: Listbox and files Pin
Chandrasekharan P1-Apr-08 23:29
Chandrasekharan P1-Apr-08 23:29 
GeneralRe: Listbox and files Pin
Rajkumar R2-Apr-08 0:07
Rajkumar R2-Apr-08 0:07 
GeneralRe: Listbox and files Pin
Chandrasekharan P2-Apr-08 0:33
Chandrasekharan P2-Apr-08 0:33 
GeneralRe: Listbox and files Pin
Rajkumar R2-Apr-08 1:12
Rajkumar R2-Apr-08 1:12 
GeneralRe: Listbox and files Pin
Chandrasekharan P2-Apr-08 1:46
Chandrasekharan P2-Apr-08 1:46 
GeneralRe: Listbox and files Pin
Chandrasekharan P2-Apr-08 1:51
Chandrasekharan P2-Apr-08 1:51 
GeneralRe: Listbox and files Pin
Rajkumar R2-Apr-08 19:05
Rajkumar R2-Apr-08 19:05 
GeneralRe: Listbox and files Pin
Chandrasekharan P2-Apr-08 19:26
Chandrasekharan P2-Apr-08 19:26 
GeneralRe: Listbox and files Pin
Rajkumar R2-Apr-08 20:44
Rajkumar R2-Apr-08 20:44 
GeneralRe: Listbox and files Pin
Chandrasekharan P2-Apr-08 21:20
Chandrasekharan P2-Apr-08 21:20 
GeneralRe: Listbox and files Pin
Chandrasekharan P3-Apr-08 0:57
Chandrasekharan P3-Apr-08 0:57 
GeneralRe: Listbox and files Pin
Hamid_RT7-Apr-08 3:51
Hamid_RT7-Apr-08 3:51 
Questionwhy use StartService to start a driver service failed? Pin
kcynic1-Apr-08 21:45
kcynic1-Apr-08 21:45 
AnswerRe: why use StartService to start a driver service failed? Pin
Jonathan [Darka]1-Apr-08 23:01
professionalJonathan [Darka]1-Apr-08 23:01 
GeneralRe: why use StartService to start a driver service failed? Pin
kcynic1-Apr-08 23:10
kcynic1-Apr-08 23:10 

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.