Click here to Skip to main content
15,902,189 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Issues with modeless dialogs Pin
Code-o-mat27-Apr-12 0:26
Code-o-mat27-Apr-12 0:26 
GeneralRe: Issues with modeless dialogs Pin
Albert Holguin27-Apr-12 9:01
professionalAlbert Holguin27-Apr-12 9:01 
AnswerRe: Issues with modeless dialogs Pin
Eytukan27-Apr-12 3:24
Eytukan27-Apr-12 3:24 
AnswerRe: Issues with modeless dialogs Pin
Albert Holguin27-Apr-12 8:59
professionalAlbert Holguin27-Apr-12 8:59 
Questionbuffer returning empty, doesn't exist on registry function when running in release, c++ win32 Pin
jkirkerx26-Apr-12 10:23
professionaljkirkerx26-Apr-12 10:23 
AnswerRe: buffer returning empty, doesn't exist on registry function when running in release, c++ win32 Pin
Big Daddy Farang26-Apr-12 12:27
Big Daddy Farang26-Apr-12 12:27 
GeneralRe: buffer returning empty, doesn't exist on registry function when running in release, c++ win32 Pin
jkirkerx27-Apr-12 6:42
professionaljkirkerx27-Apr-12 6:42 
GeneralRe: buffer returning empty, doesn't exist on registry function when running in release, c++ win32 Pin
Randor 26-Apr-12 18:05
professional Randor 26-Apr-12 18:05 
jkirkerx wrote:
but I can't check the value using the Add Watch or the mouse over, when running in release.

That statement is... really lame... I guess most of the software engineers today would be without a job without intellisense and mouse-over debug variables.

Some thoughts:
1.) Try using the OutputDebugString function[^] to print some formatted text to your debugger. You can use this in your Release versions to print local debug variables.
2.) You should consider refactoring your code so that it avoids those new[] and delete[] operators and just pass the address of a WCHAR array. You could easily have the RegQueryValueEx function write directly into a WCHAR buffer.

Best Wishes,
-David Delaune
GeneralRe: buffer returning empty, doesn't exist on registry function when running in release, c++ win32 Pin
jkirkerx27-Apr-12 6:51
professionaljkirkerx27-Apr-12 6:51 
GeneralRe: buffer returning empty, doesn't exist on registry function when running in release, c++ win32 Pin
jkirkerx3-May-12 12:55
professionaljkirkerx3-May-12 12:55 
GeneralRe: buffer returning empty, doesn't exist on registry function when running in release, c++ win32 Pin
Randor 4-May-12 2:54
professional Randor 4-May-12 2:54 
GeneralI thought that was ok to do Pin
jkirkerx4-May-12 5:30
professionaljkirkerx4-May-12 5:30 
GeneralRe: I thought that was ok to do Pin
Randor 4-May-12 9:45
professional Randor 4-May-12 9:45 
GeneralRe: I thought that was ok to do Pin
jkirkerx4-May-12 12:46
professionaljkirkerx4-May-12 12:46 
AnswerRe: buffer returning empty, doesn't exist on registry function when running in release, c++ win32 Pin
Richard MacCutchan26-Apr-12 22:22
mveRichard MacCutchan26-Apr-12 22:22 
GeneralRe: buffer returning empty, doesn't exist on registry function when running in release, c++ win32 Pin
jkirkerx27-Apr-12 6:57
professionaljkirkerx27-Apr-12 6:57 
GeneralRe: buffer returning empty, doesn't exist on registry function when running in release, c++ win32 Pin
Richard MacCutchan27-Apr-12 22:57
mveRichard MacCutchan27-Apr-12 22:57 
GeneralRe: buffer returning empty, doesn't exist on registry function when running in release, c++ win32 Pin
jkirkerx4-May-12 12:17
professionaljkirkerx4-May-12 12:17 
GeneralRe: buffer returning empty, doesn't exist on registry function when running in release, c++ win32 Pin
Richard MacCutchan4-May-12 23:07
mveRichard MacCutchan4-May-12 23:07 
GeneralRe: buffer returning empty, doesn't exist on registry function when running in release, c++ win32 Pin
jkirkerx5-May-12 7:55
professionaljkirkerx5-May-12 7:55 
QuestionCalls to Vitual "overridable" of methods Pin
ForNow26-Apr-12 7:51
ForNow26-Apr-12 7:51 
AnswerRe: Calls to Vitual "overridable" of methods Pin
Albert Holguin26-Apr-12 8:15
professionalAlbert Holguin26-Apr-12 8:15 
AnswerRe: Calls to Vitual "overridable" of methods Pin
Chuck O'Toole26-Apr-12 10:14
Chuck O'Toole26-Apr-12 10:14 
GeneralRe: Calls to Vitual "overridable" of methods Pin
Albert Holguin26-Apr-12 10:19
professionalAlbert Holguin26-Apr-12 10:19 
QuestionEnumerate network printers in metro apps Pin
chameli.sujith25-Apr-12 19:38
chameli.sujith25-Apr-12 19:38 

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.