Click here to Skip to main content
15,915,093 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
QuestionMissing The Point Pin
Oddball2-May-08 6:10
Oddball2-May-08 6:10 
AnswerRe: Missing The Point Pin
Thomas Stockwell2-May-08 11:02
professionalThomas Stockwell2-May-08 11:02 
GeneralRe: Missing The Point Pin
Oddball2-May-08 11:22
Oddball2-May-08 11:22 
QuestionReflection Question Pin
MrColeyted1-May-08 22:41
MrColeyted1-May-08 22:41 
QuestionRe: Reflection Question Pin
Urs Enzler2-May-08 4:28
Urs Enzler2-May-08 4:28 
AnswerRe: Reflection Question Pin
Fayu5-May-08 13:46
Fayu5-May-08 13:46 
QuestionCXX0017: Error: symbol "hr" not found Pin
nilam24771-May-08 22:06
nilam24771-May-08 22:06 
AnswerRe: CXX0017: Error: symbol "hr" not found Pin
Mike Dimmick2-May-08 6:08
Mike Dimmick2-May-08 6:08 
You're really in the wrong forum. You should generally ask C++ questions in the Visual C++/MFC forum[^]. This forum (.NET Framework) is for general managed code, e.g. Visual Basic or C#, non-language-specific questions.

That said, most likely you're trying to debug a release build. The optimizer has most likely optimized away the hr variable, leaving its value only in a variable. Or, if you're never writing to it, just replacing it everywhere it's used with the static value 0 (which is the value of S_OK).

Always debug a non-optimized, debug build of your application to begin with. It's important to test release builds but I'd generally only load one into the debugger if there's a problem that doesn't reproduce in the debug build.


DoEvents: Generating unexpected recursion since 1991

QuestionWhy .net code is in .h File not in .cpp file Pin
Abhijit D. Babar1-May-08 20:06
Abhijit D. Babar1-May-08 20:06 
AnswerRe: Why .net code is in .h File not in .cpp file Pin
Urs Enzler2-May-08 4:31
Urs Enzler2-May-08 4:31 
QuestionNeed for a rich Text Editor .... Pin
devboycpp1-May-08 19:12
devboycpp1-May-08 19:12 
AnswerRe: Need for a rich Text Editor .... Pin
Christian Graus1-May-08 19:32
protectorChristian Graus1-May-08 19:32 
AnswerRe: Need for a rich Text Editor .... Pin
Vasudevan Deepak Kumar2-May-08 0:44
Vasudevan Deepak Kumar2-May-08 0:44 
AnswerRe: Need for a rich Text Editor .... Pin
Reelix6-May-08 22:53
Reelix6-May-08 22:53 
QuestionChange Directory type info Pin
coleydog1-May-08 13:12
coleydog1-May-08 13:12 
QuestionStrange Behavior with Generics Pin
girijaa30-Apr-08 6:09
professionalgirijaa30-Apr-08 6:09 
AnswerRe: Strange Behavior with Generics Pin
Urs Enzler1-May-08 10:12
Urs Enzler1-May-08 10:12 
QuestionUnsafe Assembly Permissions Pin
Brady Kelly30-Apr-08 5:15
Brady Kelly30-Apr-08 5:15 
QuestionDataTable.Select() Pin
alex.almeida30-Apr-08 3:24
alex.almeida30-Apr-08 3:24 
QuestionTableDataAdapter.Update to two mirror databases... [modified] Pin
sabr4930-Apr-08 2:07
sabr4930-Apr-08 2:07 
QuestionForce TextBox to show cursor Pin
Christian Wikander29-Apr-08 23:00
Christian Wikander29-Apr-08 23:00 
AnswerRe: Force TextBox to show cursor Pin
Arjun Marwaha30-Apr-08 7:44
Arjun Marwaha30-Apr-08 7:44 
QuestionSelect Statement Pin
Learning29-Apr-08 5:18
Learning29-Apr-08 5:18 
GeneralRe: Select Statement Pin
Mark J. Miller29-Apr-08 7:49
Mark J. Miller29-Apr-08 7:49 
GeneralRe: Select Statement Pin
Learning30-Apr-08 4:42
Learning30-Apr-08 4:42 

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.