在触摸屏笔记本电脑上使用mfc应用程序获取访问冲突异常 [英] Getting access violation exception with mfc application on touchscreen laptops
问题描述
我只是在触摸屏笔记本电脑上遇到以下异常:
I am getting following exception only on touchscreen laptops:
MFC80!CTHREADLOCALOBJECT :: GETDATA + 1FIn Second_Chance_Exception_C0000005.dmp 的汇编指令mfc80!CThreadLocalObject :: GetData + 1f C:\ Windows \ winsxs \ x86_microsoft.vc80.mfc_1fc8b3b9a1e18e3b_8 .0.50727.4053_none_cbf21254470d8752 \mfc80.dll 来自 Microsoft
Corporation 在尝试 <时,已导致 访问冲突异常(0xC0000005) / span> 读取 记忆
位置 0x03ef35f0 on thread 0
NTDLL!RTLDEACTIVATEACTIVATIONCONTEXT + 10A在econd_Chance_Exception_C0000005.dmp中的汇编指令 ntdll!RtlDeactivateActivationContext + 10a C:\ Windows \ SysWOW64 \ antdll.dll from Microsoft
Corporation 导致 访问冲突异常(0xC0000005) 尝试 读取 memory
位置 0x00000014 on thread 0
MFC80!CTHREADLOCALOBJECT::GETDATA+1FIn Second_Chance_Exception_C0000005.dmp the assembly instruction at mfc80!CThreadLocalObject::GetData+1f in C:\Windows\winsxs\x86_microsoft.vc80.mfc_1fc8b3b9a1e18e3b_8.0.50727.4053_none_cbf21254470d8752\mfc80.dll from Microsoft
Corporation has caused an access violation exception (0xC0000005) when trying to read from memory
location 0x03ef35f0 on thread 0
NTDLL!RTLDEACTIVATEACTIVATIONCONTEXT+10AIn econd_Chance_Exception_C0000005.dmp the assembly instruction at ntdll!RtlDeactivateActivationContext+10a in C:\Windows\SysWOW64\ntdll.dll from Microsoft
Corporation has caused an access violation exception (0xC0000005) when trying to read from memory
location 0x00000014 on thread 0
相似ole32.dll异常。
Similar exception with ole32.dll.
我的应用程序仅在触摸屏笔记本电脑上崩溃。我用debugdiag工具创建了故障转储文件。
My application is crashing only on touchscreen laptops. I have created the crash dump file with debugdiag tool.
任何人都可以请提供一些关于此的指示或是否有任何修补程序?
Can anyone please provide some pointers on this or is there any hotfix for this?
问候,
Sandeep Gupta
Sandeep Gupta
推荐答案
您好,
您是否尝试过调试?您在笔记本电脑上的应用程序?
have you tried to debug your application on the laptop?
例如,当您尝试使用指向NULL而不是已定义内存的指针时,会出现访问冲突。
The access violation appears for example when you try to use a pointer that points to NULL instead of defined memory.
给我们提供更多信息。什么时候"崩溃",代码行等等。
Give us more information. When does it "crash", in which line of code, etc.
问候,Guido
这篇关于在触摸屏笔记本电脑上使用mfc应用程序获取访问冲突异常的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!