Click here to Skip to main content
15,918,742 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Replace views with treeview. [modified] Pin
rp_suman2-Apr-08 21:28
rp_suman2-Apr-08 21:28 
GeneralRe: Replace views with treeview. Pin
Cedric Moonen2-Apr-08 22:14
Cedric Moonen2-Apr-08 22:14 
General(Resolved): Replace views with treeview. Pin
Le@rner2-Apr-08 23:04
Le@rner2-Apr-08 23:04 
GeneralError in updating files Pin
Anu_Bala2-Apr-08 18:23
Anu_Bala2-Apr-08 18:23 
GeneralRe: Error in updating files Pin
Nibu babu thomas2-Apr-08 19:29
Nibu babu thomas2-Apr-08 19:29 
GeneralRe: Error in updating files Pin
Anu_Bala2-Apr-08 19:34
Anu_Bala2-Apr-08 19:34 
GeneralRe: Error in updating files Pin
Nibu babu thomas2-Apr-08 20:01
Nibu babu thomas2-Apr-08 20:01 
GeneralApplication is working in Windows Xp but it is crashing in Windows 2003 Pin
RamaraoPV2-Apr-08 18:23
RamaraoPV2-Apr-08 18:23 
Hi,
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? This is a customer issue i need a solution badly please help me.


Yes everything is fine it was working from a long time and recently it is causing this problem and only with some systems.

So i dont think it is the problem with coding, it might be the problem with PC because it varies from PC to PC(It is crashing in Windows 2003).

Thanks & Regards,
Ramarao.
GeneralRe: Application is working in Windows Xp but it is crashing in Windows 2003 Pin
Stephen Hewitt2-Apr-08 18:45
Stephen Hewitt2-Apr-08 18:45 
GeneralRe: Application is working in Windows Xp but it is crashing in Windows 2003 Pin
Hamid_RT7-Apr-08 4:24
Hamid_RT7-Apr-08 4:24 
QuestionFinding coordinates inside a window that has been scrolled Pin
Nathan Going2-Apr-08 16:41
Nathan Going2-Apr-08 16:41 
GeneralRe: Finding coordinates inside a window that has been scrolled Pin
Nibu babu thomas2-Apr-08 17:24
Nibu babu thomas2-Apr-08 17:24 
GeneralRe: Finding coordinates inside a window that has been scrolled Pin
Iain Clarke, Warrior Programmer3-Apr-08 3:42
Iain Clarke, Warrior Programmer3-Apr-08 3:42 
GeneralOLE From Print To Bitmap To PDF Pin
Kyudos2-Apr-08 14:02
Kyudos2-Apr-08 14:02 
GeneralRasDial... Pin
martin_hughes2-Apr-08 9:49
martin_hughes2-Apr-08 9:49 
GeneralRe: RasDial... Pin
led mike2-Apr-08 10:01
led mike2-Apr-08 10:01 
GeneralRe: RasDial... Pin
martin_hughes2-Apr-08 10:07
martin_hughes2-Apr-08 10:07 
GeneralRe: RasDial... Pin
led mike2-Apr-08 10:43
led mike2-Apr-08 10:43 
GeneralRe: RasDial... Pin
bob169722-Apr-08 16:31
bob169722-Apr-08 16:31 
GeneralRe: RasDial... Pin
led mike3-Apr-08 6:16
led mike3-Apr-08 6:16 
QuestionProblem with VS2005 solution with one dll and one exe Pin
Tom Thorp2-Apr-08 9:19
Tom Thorp2-Apr-08 9:19 
GeneralRe: Problem with VS2005 solution with one dll and one exe Pin
pabloraul2-Apr-08 9:22
pabloraul2-Apr-08 9:22 
AnswerRe: Problem with VS2005 solution with one dll and one exe Pin
Paresh Chitte2-Apr-08 18:19
Paresh Chitte2-Apr-08 18:19 
QuestionCall DialogB from DialogA Pin
pabloraul2-Apr-08 8:58
pabloraul2-Apr-08 8:58 
GeneralRe: Call DialogB from DialogA Pin
led mike2-Apr-08 9:13
led mike2-Apr-08 9:13 

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.