随笔分类 - 调试
VC6 MFC DLL父类成员float类型变量赋值后,子类另一个成员bool变量数据被变更串改问题(函数签名不对)
摘要:VC6 MFC DLL类成员float 变量赋值后,类的子类成员变量数据被变更 0xa4, 0xcd 子类有一个 bool 成员变量 在dll接口中给float赋值后0.1f, 0.99f,子类成员变量 bool值 有规率的 从0XCD 变成 0xa4 后来将类型改成double后,问题消失,后来想
阅读全文
自定义DLL显示模式对话框时,控制台显示no message line prompt for id 0xe001的问题。
摘要:在主工程中的资源包里默认为定义 应用程序状态栏的准备就绪消息键:#define AFX_IDS_IDLEMESSAGE 0xE001 此键在资源包中String Table中会有对应的文本 比如:就绪 二字,版权:不及格的程序员-八神 。 但在自定义包里,并没有自动创建,在我们调用DLL中函数时,启
阅读全文
有谁还记得这东西:上电自检卡(POST Card)
摘要:90年代 这东西, 在电脑城还是比较常见的吧? 都快忘了,才想起来
阅读全文
WinDbg : An Introduction To Windows Heaps
摘要:WinDbg : An Introduction To Windows Heaps Heaps are used by applications which need to allocate and release memory dynamically. Even though the heap i
阅读全文
WinDbg : Parsing Arrays In the Debugger
摘要:Many a times data structs like arrays need parsing in windbg. These don't lend themselves as well as the LIST_ENTRY based structs do, because the debu
阅读全文
Windbg: going from vftable to c++ class
摘要:Windbg: going from vftable to c++ class As part of an assignment, I am delving into the world of Internet Explorer, and am trying to figure out exactl
阅读全文
Managed memory leaks in .NET (Event handler)
摘要:Managed memory leaks in .NET On April 12, 2022 By Artem Razin In Uncategorized Managed memory leaks in C# Contents Managed Memory Leak – the definitio
阅读全文
浙公网安备 33010602011771号