Click here to Skip to main content
15,791,602 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: win32 dialogbox Pin
venkatesh5286712-Feb-13 0:56
venkatesh5286712-Feb-13 0:56 
GeneralRe: win32 dialogbox Pin
«_Superman_»12-Feb-13 1:02
professional«_Superman_»12-Feb-13 1:02 
QuestionCan i get text color of title bar? Pin
VCProgrammer10-Feb-13 22:28
VCProgrammer10-Feb-13 22:28 
AnswerRe: Can i get text color of title bar? Pin
Richard MacCutchan10-Feb-13 22:59
mveRichard MacCutchan10-Feb-13 22:59 
GeneralRe: Can i get text color of title bar? Pin
VCProgrammer10-Feb-13 23:42
VCProgrammer10-Feb-13 23:42 
GeneralRe: Can i get text color of title bar? Pin
Richard MacCutchan11-Feb-13 0:01
mveRichard MacCutchan11-Feb-13 0:01 
GeneralRe: Can i get text color of title bar? Pin
VCProgrammer11-Feb-13 0:07
VCProgrammer11-Feb-13 0:07 
QuestionVisual Studio 2010 optimized code bug Pin
ForNow10-Feb-13 15:55
ForNow10-Feb-13 15: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 19:02
professional«_Superman_»10-Feb-13 19:02 
GeneralRe: Visual Studio 2010 optimized code bug Pin
ForNow10-Feb-13 20:03
ForNow10-Feb-13 20:03 
QuestionRe: Visual Studio 2010 optimized code bug Pin
bob1697210-Feb-13 20:32
bob1697210-Feb-13 20:32 
AnswerRe: Visual Studio 2010 optimized code bug Pin
ForNow10-Feb-13 20:49
ForNow10-Feb-13 20:49 
AnswerRe: Visual Studio 2010 optimized code bug Pin
Richard MacCutchan10-Feb-13 22:49
mveRichard MacCutchan10-Feb-13 22:49 
GeneralRe: Visual Studio 2010 optimized code bug Pin
ForNow11-Feb-13 18:17
ForNow11-Feb-13 18:17 
GeneralRe: Visual Studio 2010 optimized code bug Pin
Richard MacCutchan11-Feb-13 23:10
mveRichard MacCutchan11-Feb-13 23:10 
GeneralRe: Visual Studio 2010 optimized code bug Pin
ForNow12-Feb-13 3:25
ForNow12-Feb-13 3:25 
Question__interface implies the novtable __declspec modifier Pin
bob169729-Feb-13 12:30
bob169729-Feb-13 12:30 
AnswerRe: __interface implies the novtable __declspec modifier Pin
H.Brydon9-Feb-13 19:35
professionalH.Brydon9-Feb-13 19:35 
GeneralRe: __interface implies the novtable __declspec modifier Pin
bob1697210-Feb-13 6:20
bob1697210-Feb-13 6:20 
AnswerRe: __interface implies the novtable __declspec modifier Pin
pasztorpisti10-Feb-13 0:32
pasztorpisti10-Feb-13 0:32 
GeneralRe: __interface implies the novtable __declspec modifier Pin
bob1697210-Feb-13 7:03
bob1697210-Feb-13 7:03 
GeneralRe: __interface implies the novtable __declspec modifier Pin
pasztorpisti10-Feb-13 11:45
pasztorpisti10-Feb-13 11:45 
GeneralRe: __interface implies the novtable __declspec modifier Pin
bob1697210-Feb-13 20:22
bob1697210-Feb-13 20:22 
GeneralRe: __interface implies the novtable __declspec modifier Pin
H.Brydon11-Feb-13 16:45
professionalH.Brydon11-Feb-13 16:45 
GeneralRe: __interface implies the novtable __declspec modifier Pin
pasztorpisti12-Feb-13 5:53
pasztorpisti12-Feb-13 5:53 

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.