Click here to Skip to main content
11,705,473 members (43,353 online)

C / C++ / MFC

 
GeneralRe: win32 dialogbox Pin
venkatesh5286711-Feb-13 23:56
membervenkatesh5286711-Feb-13 23:56 
GeneralRe: win32 dialogbox Pin
«_Superman_»12-Feb-13 0:02
member«_Superman_»12-Feb-13 0:02 
QuestionCan i get text color of title bar? Pin
VCProgrammer10-Feb-13 21:28
groupVCProgrammer10-Feb-13 21:28 
AnswerRe: Can i get text color of title bar? Pin
Richard MacCutchan10-Feb-13 21:59
mvpRichard MacCutchan10-Feb-13 21:59 
GeneralRe: Can i get text color of title bar? Pin
VCProgrammer10-Feb-13 22:42
groupVCProgrammer10-Feb-13 22:42 
GeneralRe: Can i get text color of title bar? Pin
Richard MacCutchan10-Feb-13 23:01
mvpRichard MacCutchan10-Feb-13 23:01 
GeneralRe: Can i get text color of title bar? Pin
VCProgrammer10-Feb-13 23:07
groupVCProgrammer10-Feb-13 23:07 
QuestionVisual Studio 2010 optimized code bug Pin
ForNow10-Feb-13 14:55
memberForNow10-Feb-13 14:55 
Hi,

Using the GetProcAdress I wanted to get the exported address of a function

When it returned zero I double checked with depends.exe to ensure the function was exported

I then went to assembly mode to see what happens and noticed that after the call statement a value was returned in the RAX register but there wasn't any code to move the RAX register value to my FARPROC data member

I then turned optimization off #pragma optimize("",off) and the same code generated "mov FARPROC,rax" am I missing some compiler to flag to make this happen without turning optimization off

Thanks

Thanks
AnswerRe: Visual Studio 2010 optimized code bug Pin
«_Superman_»10-Feb-13 18:02
member«_Superman_»10-Feb-13 18:02 
GeneralRe: Visual Studio 2010 optimized code bug Pin
ForNow10-Feb-13 19:03
memberForNow10-Feb-13 19:03 
QuestionRe: Visual Studio 2010 optimized code bug Pin
bob1697210-Feb-13 19:32
memberbob1697210-Feb-13 19:32 
AnswerRe: Visual Studio 2010 optimized code bug Pin
ForNow10-Feb-13 19:49
memberForNow10-Feb-13 19:49 
AnswerRe: Visual Studio 2010 optimized code bug Pin
Richard MacCutchan10-Feb-13 21:49
mvpRichard MacCutchan10-Feb-13 21:49 
GeneralRe: Visual Studio 2010 optimized code bug Pin
ForNow11-Feb-13 17:17
memberForNow11-Feb-13 17:17 
GeneralRe: Visual Studio 2010 optimized code bug Pin
Richard MacCutchan11-Feb-13 22:10
mvpRichard MacCutchan11-Feb-13 22:10 
GeneralRe: Visual Studio 2010 optimized code bug Pin
ForNow12-Feb-13 2:25
memberForNow12-Feb-13 2:25 
Question__interface implies the novtable __declspec modifier Pin
bob169729-Feb-13 11:30
memberbob169729-Feb-13 11:30 
AnswerRe: __interface implies the novtable __declspec modifier Pin
H.Brydon9-Feb-13 18:35
memberH.Brydon9-Feb-13 18:35 
GeneralRe: __interface implies the novtable __declspec modifier Pin
bob1697210-Feb-13 5:20
memberbob1697210-Feb-13 5:20 
AnswerRe: __interface implies the novtable __declspec modifier Pin
pasztorpisti9-Feb-13 23:32
memberpasztorpisti9-Feb-13 23:32 
GeneralRe: __interface implies the novtable __declspec modifier Pin
bob1697210-Feb-13 6:03
memberbob1697210-Feb-13 6:03 
GeneralRe: __interface implies the novtable __declspec modifier Pin
pasztorpisti10-Feb-13 10:45
memberpasztorpisti10-Feb-13 10:45 
GeneralRe: __interface implies the novtable __declspec modifier Pin
bob1697210-Feb-13 19:22
memberbob1697210-Feb-13 19:22 
GeneralRe: __interface implies the novtable __declspec modifier Pin
H.Brydon11-Feb-13 15:45
memberH.Brydon11-Feb-13 15:45 
GeneralRe: __interface implies the novtable __declspec modifier Pin
pasztorpisti12-Feb-13 4:53
memberpasztorpisti12-Feb-13 4:53 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web02 | 2.8.150819.1 | Last Updated 28 Aug 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid