Debug v. Release
-
Hmm, I'm not sure if this is a common problem. I have a .dll that when compiled under Debug mode in VC++ 6.0, runs perfectly. But when I compile a Release version, the .dll can't correctly access the registry, redraw the window (I'm using InvalidateRect()), and will even throw an error when on exit. So, I'm quite confused as to why this is happening. I don't really understand the difference between Debug and Release, I guess. Does anyone know what sort of compile options could be causing the problems I'm having? thanks! marc m-flury@northwestern.edu
-
Hmm, I'm not sure if this is a common problem. I have a .dll that when compiled under Debug mode in VC++ 6.0, runs perfectly. But when I compile a Release version, the .dll can't correctly access the registry, redraw the window (I'm using InvalidateRect()), and will even throw an error when on exit. So, I'm quite confused as to why this is happening. I don't really understand the difference between Debug and Release, I guess. Does anyone know what sort of compile options could be causing the problems I'm having? thanks! marc m-flury@northwestern.edu
-
Hmm, I'm not sure if this is a common problem. I have a .dll that when compiled under Debug mode in VC++ 6.0, runs perfectly. But when I compile a Release version, the .dll can't correctly access the registry, redraw the window (I'm using InvalidateRect()), and will even throw an error when on exit. So, I'm quite confused as to why this is happening. I don't really understand the difference between Debug and Release, I guess. Does anyone know what sort of compile options could be causing the problems I'm having? thanks! marc m-flury@northwestern.edu
Check out Surviving the Release Version --Mike-- http://home.inreach.com/mdunn/ "Make sure that if you are using a blow torch that you don't set anything on fire." -- Chris Maunder
-
I have the same problem, and I don't know what to do about it. Accessing the registry, that is. Are you using the OpenRegKeyEx or the function(I forgot its name)? Baaf.
I'm using CRegKey... After reading the article recommended in the second reply, I'm betting my problems is my frequent use of the assert(someFunction() == someVal); programming no-no. Hope that helps!
-
I have the same problem, and I don't know what to do about it. Accessing the registry, that is. Are you using the OpenRegKeyEx or the function(I forgot its name)? Baaf.
I'm using CRegKey... After reading the article recommended in the second reply, I'm betting my problem is my frequent use of the assert(someFunction() == someVal); programming no-no. Hope that helps!
-
I'm using CRegKey... After reading the article recommended in the second reply, I'm betting my problem is my frequent use of the assert(someFunction() == someVal); programming no-no. Hope that helps!
ASSERT is ignored in Release versions so it doesn't matter if they're there or not. Bret Faller Odyssey Computing, Inc.
-
I have the same problem, and I don't know what to do about it. Accessing the registry, that is. Are you using the OpenRegKeyEx or the function(I forgot its name)? Baaf.