Click here to Skip to main content
16,010,394 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow to use RunModalLoop? Pin
Sarvan AL10-Apr-06 18:41
Sarvan AL10-Apr-06 18:41 
AnswerRe: How to use RunModalLoop? Pin
Ryan Binns10-Apr-06 18:52
Ryan Binns10-Apr-06 18:52 
QuestionMemory related issues Pin
rajeevktripathi10-Apr-06 18:39
rajeevktripathi10-Apr-06 18:39 
AnswerRe: Memory related issues Pin
Ryan Binns10-Apr-06 18:49
Ryan Binns10-Apr-06 18:49 
QuestionRe: Memory related issues Pin
rajeevktripathi10-Apr-06 18:58
rajeevktripathi10-Apr-06 18:58 
AnswerRe: Memory related issues Pin
Ryan Binns10-Apr-06 20:09
Ryan Binns10-Apr-06 20:09 
AnswerRe: Memory related issues Pin
kakan10-Apr-06 19:03
professionalkakan10-Apr-06 19:03 
GeneralRe: Memory related issues Pin
normanS10-Apr-06 19:49
normanS10-Apr-06 19:49 
This depends on the compiler which is used.

Everything I have read about this suggests that the Visual C++ compiler treats the REGISTER keyword with very low priority (i.e. it uses it as a suggestion, but does what it thinks is best.)

I was doing some code which I though would benefit from keeping some three 32-bit variables in registers, but the REGISTER keyword made no difference to the speed. Looking at the assembly code which was generated, the three variables were not put in registers.

GeneralRe: Memory related issues Pin
Ryan Binns10-Apr-06 20:07
Ryan Binns10-Apr-06 20:07 
GeneralRe: Memory related issues Pin
normanS11-Apr-06 0:39
normanS11-Apr-06 0:39 
GeneralRe: Memory related issues Pin
Ryan Binns11-Apr-06 0:47
Ryan Binns11-Apr-06 0:47 
AnswerRe: Memory related issues Pin
Stephen Hewitt10-Apr-06 21:23
Stephen Hewitt10-Apr-06 21:23 
Questionregarding MapViewOfFile Pin
namaskaaram10-Apr-06 18:30
namaskaaram10-Apr-06 18:30 
AnswerRe: regarding MapViewOfFile Pin
Ryan Binns10-Apr-06 18:47
Ryan Binns10-Apr-06 18:47 
GeneralRe: regarding MapViewOfFile Pin
Blake Miller12-Apr-06 5:07
Blake Miller12-Apr-06 5:07 
GeneralRe: regarding MapViewOfFile Pin
Ryan Binns12-Apr-06 13:50
Ryan Binns12-Apr-06 13:50 
QuestionLinkage C Pin
mostafa_pasha10-Apr-06 17:58
mostafa_pasha10-Apr-06 17:58 
Questiondebug assertion failed Pin
mrby12310-Apr-06 17:19
mrby12310-Apr-06 17:19 
AnswerRe: debug assertion failed Pin
lastgen10-Apr-06 17:55
lastgen10-Apr-06 17:55 
GeneralRe: debug assertion failed Pin
mrby12310-Apr-06 18:04
mrby12310-Apr-06 18:04 
QuestionHow to store a Binary value in a variable? Pin
CodeVarma10-Apr-06 17:05
CodeVarma10-Apr-06 17:05 
AnswerRe: How to store a Binary value in a variable? Pin
Ryan Binns10-Apr-06 18:21
Ryan Binns10-Apr-06 18:21 
QuestionVariable Help Pin
borono10-Apr-06 14:14
borono10-Apr-06 14:14 
AnswerRe: Variable Help Pin
Joshua Quick10-Apr-06 15:43
Joshua Quick10-Apr-06 15:43 
GeneralRe: Variable Help Pin
borono10-Apr-06 17:30
borono10-Apr-06 17:30 

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.