Click here to Skip to main content
15,914,014 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralDebug Release Optimization Pin
22-Feb-01 10:43
suss22-Feb-01 10:43 
GeneralRe: Debug Release Optimization Pin
Erik Funkenbusch22-Feb-01 12:22
Erik Funkenbusch22-Feb-01 12:22 
GeneralMemory Mapping Pin
22-Feb-01 6:57
suss22-Feb-01 6:57 
GeneralRe: Memory Mapping Pin
l a u r e n22-Feb-01 9:22
l a u r e n22-Feb-01 9:22 
GeneralMixing DEBUG and RELEASE DLLs. Pin
Chris Meech22-Feb-01 5:55
Chris Meech22-Feb-01 5:55 
GeneralRe: Mixing DEBUG and RELEASE DLLs. Pin
l a u r e n22-Feb-01 6:13
l a u r e n22-Feb-01 6:13 
GeneralRe: Mixing DEBUG and RELEASE DLLs. Pin
Chris Meech22-Feb-01 6:33
Chris Meech22-Feb-01 6:33 
GeneralRe: Mixing DEBUG and RELEASE DLLs. Pin
Erik Funkenbusch22-Feb-01 12:29
Erik Funkenbusch22-Feb-01 12:29 
Yes, don't do it.

Mixing the two, you end up with two different heap managers. MFC uses all kinds of tricks to get around the module heap limitations, and you've now created two different kinds of memory. What happens when your debug code tries to delete memory allocated by the release manager? You might as well try to guess how Buddy Hacket will look in a singularity with better success Wink | ;)

Contact your library vendor and request a debug version of their DLL, or else enable debugging information in the release mode and debug that way. You will be chasing your tail for no reason otherwise.

GeneralRe: Mixing DEBUG and RELEASE DLLs. Pin
Chris Meech23-Feb-01 7:01
Chris Meech23-Feb-01 7:01 
GeneralRe: Mixing DEBUG and RELEASE DLLs. Pin
26-Feb-01 8:14
suss26-Feb-01 8:14 
GeneralRe: Mixing DEBUG and RELEASE DLLs. Pin
Erik Funkenbusch26-Feb-01 12:31
Erik Funkenbusch26-Feb-01 12:31 
GeneralRe: Mixing DEBUG and RELEASE DLLs. Pin
27-Feb-01 5:47
suss27-Feb-01 5:47 
GeneralSearching a custom Database Pin
jerry0davis22-Feb-01 5:48
jerry0davis22-Feb-01 5:48 
GeneralRe: Searching a custom Database Pin
l a u r e n22-Feb-01 5:57
l a u r e n22-Feb-01 5:57 
Generaldelete and delete [] what is the difference Pin
22-Feb-01 5:35
suss22-Feb-01 5:35 
GeneralRe: delete and delete [] what is the difference Pin
Michael Dunn22-Feb-01 6:39
sitebuilderMichael Dunn22-Feb-01 6:39 
GeneralRe: delete and delete [] what is the difference Pin
Etienne Danvoye22-Feb-01 7:19
Etienne Danvoye22-Feb-01 7:19 
GeneralRe: delete and delete [] what is the difference Pin
Erik Funkenbusch22-Feb-01 12:47
Erik Funkenbusch22-Feb-01 12:47 
GeneralRe: delete and delete [] what is the difference Pin
Ryan Park23-Feb-01 14:56
Ryan Park23-Feb-01 14:56 
Generalbad arrays .. Pin
Travis D. Mathison22-Feb-01 4:06
Travis D. Mathison22-Feb-01 4:06 
GeneralRe: bad arrays .. Pin
Chris Losinger22-Feb-01 4:49
professionalChris Losinger22-Feb-01 4:49 
GeneralRe: bad arrays .. Pin
l a u r e n22-Feb-01 6:03
l a u r e n22-Feb-01 6:03 
GeneralRe: bad arrays .. Pin
Julien22-Feb-01 15:24
Julien22-Feb-01 15:24 
GeneralRe: bad arrays .. Pin
Travis D. Mathison22-Feb-01 16:27
Travis D. Mathison22-Feb-01 16:27 
QuestionDatabase programming?? Pin
22-Feb-01 3:37
suss22-Feb-01 3:37 

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.