Click here to Skip to main content
15,917,702 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: get state of ctrl key from MSG* Pin
PJ Arends17-Jul-03 6:40
professionalPJ Arends17-Jul-03 6:40 
GeneralRe: get state of ctrl key from MSG* Pin
Mike Nordell17-Jul-03 8:51
Mike Nordell17-Jul-03 8:51 
GeneralRe: get state of ctrl key from MSG* Pin
PJ Arends17-Jul-03 9:35
professionalPJ Arends17-Jul-03 9:35 
GeneralRe: get state of ctrl key from MSG* Pin
roel_17-Jul-03 23:10
roel_17-Jul-03 23:10 
Generalplace a file into clipboard Pin
tomc17-Jul-03 6:07
tomc17-Jul-03 6:07 
GeneralRe: place a file into clipboard Pin
Mike Nordell17-Jul-03 8:54
Mike Nordell17-Jul-03 8:54 
QuestionHow to stop the msvc optimizer from flushing registers? Pin
Aardappel17-Jul-03 5:35
Aardappel17-Jul-03 5:35 
AnswerRe: How to stop the msvc optimizer from flushing registers? Pin
Ryan Binns17-Jul-03 5:48
Ryan Binns17-Jul-03 5:48 
You could use the register keyword, but I'm not sure if the compiler honours that any more. If you optimise for speed, it should use only the register anyway.

Use the /Oe option to optimise register-allocation, and the compiler should be able to sort this out.

If neither of these work, either you can write the algorithm in assembly, use a different compiler, or just accept it Smile | :)

Ryan
"Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late" John Nichol "Point Of Impact"

GeneralRe: How to stop the msvc optimizer from flushing registers? Pin
Mike Nordell17-Jul-03 9:22
Mike Nordell17-Jul-03 9:22 
GeneralRe: How to stop the msvc optimizer from flushing registers? Pin
Ryan Binns17-Jul-03 14:28
Ryan Binns17-Jul-03 14:28 
GeneralRe: How to stop the msvc optimizer from flushing registers? Pin
Aardappel17-Jul-03 21:24
Aardappel17-Jul-03 21:24 
AnswerRe: How to stop the msvc optimizer from flushing registers? Pin
Mike Nordell17-Jul-03 9:08
Mike Nordell17-Jul-03 9:08 
GeneralRe: How to stop the msvc optimizer from flushing registers? Pin
Anonymous17-Jul-03 21:28
Anonymous17-Jul-03 21:28 
GeneralRe: How to stop the msvc optimizer from flushing registers? Pin
Aardappel17-Jul-03 21:30
Aardappel17-Jul-03 21:30 
QuestionHow can I import a nice looking icon? Pin
DanYELL17-Jul-03 5:26
DanYELL17-Jul-03 5:26 
AnswerRe: How can I import a nice looking icon? Pin
pranavamhari17-Jul-03 6:23
pranavamhari17-Jul-03 6:23 
AnswerRe: How can I import a nice looking icon? Pin
Mike Nordell17-Jul-03 9:12
Mike Nordell17-Jul-03 9:12 
GeneralSimple Direct Show question Pin
rrrado17-Jul-03 5:22
rrrado17-Jul-03 5:22 
GeneralRe: Simple Direct Show question Pin
GheeButter17-Jul-03 8:15
GheeButter17-Jul-03 8:15 
QuestionHow can I prevent that an OCX or a Dll is loading more then once? Pin
gar@isogmbh.de17-Jul-03 4:48
gar@isogmbh.de17-Jul-03 4:48 
AnswerRe: How can I prevent that an OCX or a Dll is loading more then once? Pin
Iain Clarke, Warrior Programmer17-Jul-03 5:00
Iain Clarke, Warrior Programmer17-Jul-03 5:00 
GeneralRe: How can I prevent that an OCX or a Dll is loading more then once? Pin
gar@isogmbh.de17-Jul-03 6:21
gar@isogmbh.de17-Jul-03 6:21 
QuestionHow to debug "abnormal program termination" Pin
Anonymous17-Jul-03 4:40
Anonymous17-Jul-03 4:40 
Generaltapi messages Pin
Liate17-Jul-03 4:07
Liate17-Jul-03 4:07 
Generalmailto problem Pin
skinnyreptile17-Jul-03 4:05
skinnyreptile17-Jul-03 4:05 

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.