It is my class with a base class of CMFCToolBar
rayjoslyn
Posts
-
toolbars retain old settings -
toolbars retain old settingsBy changes, I mean say if I add a button to a toolbar it doesn't show up unless I delete these setting in the registry. So where or how do I keep it from loading the customized layout if I make changes to my toolbar?
-
toolbars retain old settingsI have an MFC program using CMFCToolBars. The toolbar settings are getting saved and read from the registry fine. However when I make changes to the toolbar, re-compile and run the program, it doesn't see these new changes unless I go into the registry and delete the HKEY_CURRENT_USER\Software\MyProgram\settings key. What should I be doing to keep this from happening? Thanks Ray
-
break point not hit in release modeOk, I have decided that the code is getting executed, its just that when I step through in release mode it doesn't show me the actual steps it is taking nor are the value of the variables in the debugger valid. So back to my problem that prompted this message. My program gets an exception in release mode but not in debug, but if I can't step through the program or rely on the debug variables in release mode, then how do I find out what is causing the exception? I've turning on the debugging information /Zi, turned off optimization, and turned on generate debug info in the linker. Still can get no usefull info from the debugger in release mode. Any ideas? Ray
-
break point not hit in release modeOk, I have decided that the code is getting executed, its just that when I step through in release mode it doesn't show me the actual steps it is taking nor are the value of the variables in the debugger valid. So back to my problem that prompted this message. My program gets an exception in release mode but not in debug, but if I can't step through the program or rely on the debug variables in release mode, then how do I find out what is causing the exception? Anyone??? Ray
-
break point not hit in release modeMy problem is that it never goes to this code in release mode. I've put a break point on it and it never hits it.
-
break point not hit in release modeYes I have disabled the optimization. Thanks for the input, but why is it still not executing this part of the code? Ray
-
break point not hit in release modeI have some code that is not getting executed in release mode. The code is in appui3.cpp in microsofts library. The method is GetProfileInt. I am trying to read some prefereces from the registry. It is working in debug mode, but in release it doesn't seem to be going to the method therefore I am not getting expected data. I am compiling with the /ZI switch for debug info in release mode also. Using VS2008. Any ideas? Thanks Ray
-
release mode crashes when creating tool barBOOL result = tb->CreateEx( this ,TBSTYLE_TRANSPARENT | TBSTYLE_FLAT ,WS_CHILD | WS_VISIBLE | CBRS_TOP | CBRS_TOOLTIPS | CBRS_FLYBY | CBRS_SIZE_DYNAMIC) ,toolBarBorder ,TB_ID); For some reason this crashes in release mode but not debug, where should I be looking for some un-initialized pointers. I can't seem to isolate where it is happening. Can anyone give me some pointers? Using VS2008, by the way no crashes in release or debug in VS2003 Thanks Ray
-
get date stamp on current running exeHow can I get the date stamp of my running executable? Ray