Click here to Skip to main content
15,904,638 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Bug in Visual Studio 2005 compiler? Pin
a_matseevsky19-Jan-14 1:07
a_matseevsky19-Jan-14 1:07 
GeneralRe: Bug in Visual Studio 2005 compiler? Pin
Richard MacCutchan19-Jan-14 1:08
mveRichard MacCutchan19-Jan-14 1:08 
GeneralRe: Bug in Visual Studio 2005 compiler? Pin
a_matseevsky19-Jan-14 10:54
a_matseevsky19-Jan-14 10:54 
GeneralRe: Bug in Visual Studio 2005 compiler? Pin
pkfox19-Jan-14 20:20
professionalpkfox19-Jan-14 20:20 
GeneralRe: Bug in Visual Studio 2005 compiler? Pin
Richard MacCutchan19-Jan-14 22:21
mveRichard MacCutchan19-Jan-14 22:21 
GeneralRe: Bug in Visual Studio 2005 compiler? Pin
jschell18-Jan-14 11:51
jschell18-Jan-14 11:51 
GeneralRe: Bug in Visual Studio 2005 compiler? Pin
a_matseevsky18-Jan-14 17:42
a_matseevsky18-Jan-14 17:42 
GeneralRe: Bug in Visual Studio 2005 compiler? Pin
jschell20-Jan-14 12:45
jschell20-Jan-14 12:45 
a_matseevsky wrote:
But it works incorrectly.


I suggest you reread my post - pointer bugs can have an impact FAR later in the code.

a_matseevsky wrote:
And it happens not only with RECT structure, but with some of other local variables too.


Don't know how to state this more clearly.

Either you have a pointer bug or there is a compiler problem. If the latter then reducing the code will demonstrate it AND changing code far from it and unrelated will NOT impact it.

Conversely if the former then you will not be able to reduce it because the code that you are looking at is not the source of the problem.
GeneralRe: Bug in Visual Studio 2005 compiler? Pin
a_matseevsky20-Jan-14 12:54
a_matseevsky20-Jan-14 12:54 
GeneralRe: Bug in Visual Studio 2005 compiler? Pin
jschell23-Jan-14 13:11
jschell23-Jan-14 13:11 
GeneralRe: Bug in Visual Studio 2005 compiler? Pin
a_matseevsky23-Jan-14 18:00
a_matseevsky23-Jan-14 18:00 
GeneralRe: Bug in Visual Studio 2005 compiler? Pin
jschell24-Jan-14 12:17
jschell24-Jan-14 12:17 
GeneralRe: Bug in Visual Studio 2005 compiler? Pin
a_matseevsky24-Jan-14 16:22
a_matseevsky24-Jan-14 16:22 
GeneralRe: Bug in Visual Studio 2005 compiler? Pin
jschell25-Jan-14 12:37
jschell25-Jan-14 12:37 
GeneralRe: Bug in Visual Studio 2005 compiler? Pin
a_matseevsky25-Jan-14 18:56
a_matseevsky25-Jan-14 18:56 
GeneralRe: Bug in Visual Studio 2005 compiler? Pin
jschell26-Jan-14 12:29
jschell26-Jan-14 12:29 
GeneralRe: Bug in Visual Studio 2005 compiler? Pin
a_matseevsky26-Jan-14 20:24
a_matseevsky26-Jan-14 20:24 
QuestionShellExecuteEx with Windows 8 Pin
Member 147103916-Jan-14 8:16
Member 147103916-Jan-14 8:16 
AnswerRe: ShellExecuteEx with Windows 8 Pin
2374116-Jan-14 10:14
2374116-Jan-14 10:14 
GeneralRe: ShellExecuteEx with Windows 8 Pin
Member 147103916-Jan-14 14:33
Member 147103916-Jan-14 14:33 
GeneralRe: ShellExecuteEx with Windows 8 Pin
2374117-Jan-14 6:36
2374117-Jan-14 6:36 
GeneralRe: ShellExecuteEx with Windows 8 Pin
Member 147103917-Jan-14 9:03
Member 147103917-Jan-14 9:03 
GeneralRe: ShellExecuteEx with Windows 8 Pin
Member 147103918-Jan-14 11:25
Member 147103918-Jan-14 11:25 
QuestionRe: ShellExecuteEx with Windows 8 Pin
Richard MacCutchan16-Jan-14 22:05
mveRichard MacCutchan16-Jan-14 22:05 
AnswerRe: ShellExecuteEx with Windows 8 Pin
Member 147103917-Jan-14 8:11
Member 147103917-Jan-14 8:11 

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.