Click here to Skip to main content
16,006,845 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralSide-By-Side assemblies in Win XP Pin
andi23-Sep-02 8:57
andi23-Sep-02 8:57 
GeneralRe: Side-By-Side assemblies in Win XP Pin
Stephane Rodriguez.23-Sep-02 9:04
Stephane Rodriguez.23-Sep-02 9:04 
GeneralHelp a Sort-Of Newbie! :/ Pin
James A Beggs23-Sep-02 8:38
James A Beggs23-Sep-02 8:38 
GeneralRe: Help a Sort-Of Newbie! :/ Pin
Anders Molin23-Sep-02 12:00
professionalAnders Molin23-Sep-02 12:00 
GeneralRe: Help a Sort-Of Newbie! :/ Pin
James A Beggs23-Sep-02 12:00
James A Beggs23-Sep-02 12:00 
GeneralRe: Help a Sort-Of Newbie! :/ Pin
Anders Molin23-Sep-02 12:19
professionalAnders Molin23-Sep-02 12:19 
GeneralRe: Help a Sort-Of Newbie! :/ Pin
James A Beggs23-Sep-02 12:17
James A Beggs23-Sep-02 12:17 
GeneralMemory Leaks in Microsoft Dlls Pin
SanShou23-Sep-02 7:59
SanShou23-Sep-02 7:59 
I have been looking at solving some "inconsistent" problems with my program which seemed to be memory related. Strings displayed in dialog boxes overwritten when there was no command to change them. In order to check that I did a build with Boundschecker. Although I am not sure how I fixed my own problems Confused | :confused: , after a few full rebuilds and initializing data in the pointer class I was using, my code seemed to solidfy. However bounds checker gave me a list of memory leaks within external dlls. (i.e.

Dynamic memory overrun
Copying 65535 bytes to a block allocated in DNSAPI.DLL!0000121A
Starting offset: 0, destination size: 2 bytes
HANDLE: 0x0016B5A8
allocating thread ID: 0x6DC, current thread ID: 0x6DC

Location of Error
DNSAPI.DLL!0000141D (unknown) (unknown)
DNSAPI.DLL!000015BA (unknown) (unknown)
DNSAPI.DLL!00002AAF (unknown) (unknown)
DNSAPI.DLL!000029E4 (unknown) (unknown)
DNSAPI.DLL!0000298F (unknown) (unknown)

Point of Allocation
DNSAPI.DLL!0000121A (unknown) (unknown)
DNSAPI.DLL!00002AAF (unknown) (unknown)
DNSAPI.DLL!000029E4 (unknown) (unknown)
DNSAPI.DLL!0000298F (unknown) (unknown)


or


Memory leak
1152 bytes allocated by MSVCRT.DLL!0000101F in MSVCRT.DLL!00003517, HANDLE: 0x01F31F20

Location of Error
MSVCRT.DLL!00003517 (unknown) (unknown)
MSVCRT.DLL!00001431 (unknown) (unknown)


Is there a way to debug this.. I assume it is something that I am doing in the calling of the API and MFC code. Okay I am one that doesn't want to just blame Microsoft Mad | :mad: and release something with errors that I can resolve.

Unfortunatly I am not a debug guru and haven't been able to study under any master, so any help could be cool. Otherwise when I get time, I guess I could comment out calls and find out what is causing these leaks. Trust me I learned alot debugging my AddRef/ Release extremly simple garbage collection for some classes. I learned I should probably have used a better smart pointer class Poke tongue | ;-P instead of my simple technique....

Anyway thanks for any tips...



The path to mastery is full of stupid moments and errors, but the error of the stupid is to assume that they are masters.
GeneralRe: Memory Leaks in Microsoft Dlls Pin
Stephane Rodriguez.23-Sep-02 9:02
Stephane Rodriguez.23-Sep-02 9:02 
GeneralRe: Memory Leaks in Microsoft Dlls Pin
SanShou23-Sep-02 9:42
SanShou23-Sep-02 9:42 
GeneralNeed help with dll compile Pin
leppie23-Sep-02 7:45
leppie23-Sep-02 7:45 
GeneralRe: Need help with dll compile Pin
Nick Parker23-Sep-02 7:48
protectorNick Parker23-Sep-02 7:48 
GeneralRe: Need help with dll compile Pin
leppie23-Sep-02 8:50
leppie23-Sep-02 8:50 
GeneralRe: Need help with dll compile Pin
Pavel Klocek23-Sep-02 8:30
Pavel Klocek23-Sep-02 8:30 
GeneralRe: Need help with dll compile Pin
leppie23-Sep-02 8:55
leppie23-Sep-02 8:55 
GeneralRe: Need help with dll compile Pin
Pavel Klocek23-Sep-02 9:21
Pavel Klocek23-Sep-02 9:21 
GeneralRe: Need help with dll compile Pin
Stephane Rodriguez.23-Sep-02 9:17
Stephane Rodriguez.23-Sep-02 9:17 
GeneralI just want a DLL :( Pin
leppie23-Sep-02 9:46
leppie23-Sep-02 9:46 
GeneralApplication will not open "new file dialog" in some cases Pin
Chris Klecker23-Sep-02 7:13
Chris Klecker23-Sep-02 7:13 
GeneralRe: Application will not open "new file dialog" in some cases Pin
User 988523-Sep-02 7:17
User 988523-Sep-02 7:17 
GeneralRe: Application will not open "new file dialog" in some cases Pin
Chris Klecker23-Sep-02 16:08
Chris Klecker23-Sep-02 16:08 
QuestionHow to force invalidation of NonClient Area Pin
Gary Ranson23-Sep-02 6:37
Gary Ranson23-Sep-02 6:37 
AnswerRe: How to force invalidation of NonClient Area Pin
User 988523-Sep-02 7:13
User 988523-Sep-02 7:13 
QuestionHow to simulate user input (keyboard and mouse input) by sending messages to application, just like some testing tools, such as QARun, Robot etc. Pin
Xia yingqiang23-Sep-02 5:45
Xia yingqiang23-Sep-02 5:45 
AnswerRe: How to simulate user input (keyboard and mouse input) by sending messages to application, just like some testing tools, such as QARun, Robot etc. Pin
Andreas Saurwein23-Sep-02 6:06
Andreas Saurwein23-Sep-02 6:06 

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.