Click here to Skip to main content
15,885,278 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: debugger position does not correspond source code Pin
David Crow24-Aug-09 3:17
David Crow24-Aug-09 3:17 
AnswerRe: debugger position does not correspond source code Pin
ed welch24-Aug-09 13:26
ed welch24-Aug-09 13:26 
QuestionRe: debugger position does not correspond source code Pin
David Crow25-Aug-09 2:29
David Crow25-Aug-09 2:29 
AnswerRe: debugger position does not correspond source code [modified] Pin
Souldrift24-Aug-09 3:37
Souldrift24-Aug-09 3:37 
GeneralRe: debugger position does not correspond source code Pin
ed welch24-Aug-09 13:27
ed welch24-Aug-09 13:27 
AnswerRe: debugger position does not correspond source code Pin
Alan Balkany24-Aug-09 4:22
Alan Balkany24-Aug-09 4:22 
GeneralRe: debugger position does not correspond source code Pin
ed welch24-Aug-09 13:29
ed welch24-Aug-09 13:29 
AnswerRe: debugger position does not correspond source code [modified] Pin
amatecki24-Aug-09 22:31
professionalamatecki24-Aug-09 22:31 
hi,
it may be cause of fault in encoding of lines endings in Your source file, ie. from any reason at end of line instead of standard windows CRLF code ('\x0D','\x0A') appear the CR code ('\x0D'). Debugger counts line endings and if any encoding of line end differs from the other it may results in wrong line highlighting. To eliminate this problem You can use any text tool that can re-encode the line endings in Your source file to standard windows encoding or You can use Visual Studio editor feature "Save With Encoding" into "Save File As..." dialog. I would try first in VS do "Save File As..." -> Unix/Macintosh and next "Save File As..." -> Windows.

modified on Tuesday, August 25, 2009 9:28 AM

GeneralRe: debugger position does not correspond source code Pin
ed welch25-Aug-09 1:25
ed welch25-Aug-09 1:25 
GeneralRe: debugger position does not correspond source code Pin
David Crow25-Aug-09 2:28
David Crow25-Aug-09 2:28 
GeneralRe: debugger position does not correspond source code Pin
ed welch25-Aug-09 7:30
ed welch25-Aug-09 7:30 
GeneralRe: debugger position does not correspond source code Pin
amatecki25-Aug-09 7:43
professionalamatecki25-Aug-09 7:43 
QuestionHow can add menu on right click of Tree? Pin
Le@rner24-Aug-09 0:35
Le@rner24-Aug-09 0:35 
AnswerRe: How can add menu on right click of Tree? Pin
Iain Clarke, Warrior Programmer24-Aug-09 6:33
Iain Clarke, Warrior Programmer24-Aug-09 6:33 
GeneralRe: How can add menu on right click of Tree? Pin
Le@rner24-Aug-09 18:04
Le@rner24-Aug-09 18:04 
QuestionHow to convert a BSTR into a character array Pin
pandit8423-Aug-09 22:36
pandit8423-Aug-09 22:36 
AnswerRe: How to convert a BSTR into a character array Pin
«_Superman_»23-Aug-09 22:44
professional«_Superman_»23-Aug-09 22:44 
AnswerRe: How to convert a BSTR into a character array Pin
Rajesh R Subramanian23-Aug-09 22:49
professionalRajesh R Subramanian23-Aug-09 22:49 
AnswerRe: How to convert a BSTR into a character array Pin
Stuart Dootson23-Aug-09 23:23
professionalStuart Dootson23-Aug-09 23:23 
GeneralRe: How to convert a BSTR into a character array Pin
pandit8424-Aug-09 0:04
pandit8424-Aug-09 0:04 
QuestionSimple Menus That Display Icons in Win32 API (No MFC) Pin
Aabid23-Aug-09 21:22
Aabid23-Aug-09 21:22 
AnswerRe: Simple Menus That Display Icons in Win32 API (No MFC) Pin
David Crow24-Aug-09 3:19
David Crow24-Aug-09 3:19 
GeneralRe: Simple Menus That Display Icons in Win32 API (No MFC) Pin
Aabid25-Aug-09 0:36
Aabid25-Aug-09 0:36 
AnswerRe: Simple Menus That Display Icons in Win32 API (No MFC) Pin
David Crow25-Aug-09 2:33
David Crow25-Aug-09 2:33 
QuestionKeeping a thread idle for a while Pin
sunny_vc23-Aug-09 20:15
sunny_vc23-Aug-09 20:15 

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.