Click here to Skip to main content
15,918,243 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Sorry I was logged out Pin
Rick York5-Jul-03 21:54
mveRick York5-Jul-03 21:54 
GeneralRe: Sorry I was logged out Pin
Aidman6-Jul-03 7:12
Aidman6-Jul-03 7:12 
AnswerRe: Pointing a function pointer to a variable? Pin
Ryan Binns5-Jul-03 20:29
Ryan Binns5-Jul-03 20:29 
GeneralRe: Pointing a function pointer to a variable? Pin
Aidman6-Jul-03 7:05
Aidman6-Jul-03 7:05 
GeneralRe: Pointing a function pointer to a variable? Pin
Ryan Binns6-Jul-03 17:50
Ryan Binns6-Jul-03 17:50 
AnswerRe: Pointing a function pointer to a variable? Pin
peterchen5-Jul-03 21:51
peterchen5-Jul-03 21:51 
GeneralRe: Pointing a function pointer to a variable? Pin
Aidman6-Jul-03 7:08
Aidman6-Jul-03 7:08 
GeneralRe: Pointing a function pointer to a variable? Pin
peterchen6-Jul-03 22:17
peterchen6-Jul-03 22:17 
Aidman wrote:
Where can I find the info on performance issues (for mixing code and data)

unfortunately, I don't know anymore. I just remember an article that discussed that techniques like "compiled bitmaps" (popular with ModeX) aren't worth the trouble anymore.

Most CPU architectures (including Intel) have separate Code and Data Caches. If I recall correctly, the main performance problem ins when there's an overlap, the CPU flushes both Code and Data cache (since they are not meant to overlap). I might be wrong here, though.

Aidman wrote:
and processor support (for execution on tsack or heap)?
Windows allows separate read/write/execute flags to be set for allocated pages (i.e. it could deny the stack exectution rights - zap go all buffer overflow intrusions). It doesn't make use of this on the x86 / Pentium platform; you would have to check the docs of the particular CPU/OS/Compiler combination but it's possible and makes sense.

Peter





"Der Geist des Kriegers ist erwacht / Ich hab die Macht" StS

sighist | Agile Programming | doxygen

GeneralProtected member access, that's not protected Pin
pdunn5-Jul-03 14:39
pdunn5-Jul-03 14:39 
GeneralUnknown message Pin
Xakep5-Jul-03 12:54
Xakep5-Jul-03 12:54 
GeneralRe: Unknown message Pin
Ryan Binns5-Jul-03 20:36
Ryan Binns5-Jul-03 20:36 
QuestionMS Office 97 ActiveX Control? Pin
Mardigin5-Jul-03 12:15
Mardigin5-Jul-03 12:15 
QuestionHow do I stop a do/while loop using a toolbar Pin
Rno355-Jul-03 10:58
Rno355-Jul-03 10:58 
AnswerRe: How do I stop a do/while loop using a toolbar Pin
jhaga5-Jul-03 11:37
professionaljhaga5-Jul-03 11:37 
AnswerRe: How do I stop a do/while loop using a toolbar Pin
MAAK6-Jul-03 13:31
MAAK6-Jul-03 13:31 
GeneralUpdating dialogue Pin
andyg.1015-Jul-03 4:01
andyg.1015-Jul-03 4:01 
GeneralRe: Updating dialogue Pin
valikac5-Jul-03 7:09
valikac5-Jul-03 7:09 
Questionhow I can know which character can output? Pin
Alice805-Jul-03 3:58
Alice805-Jul-03 3:58 
AnswerRe: how I can know which character can output? Pin
David Crow5-Jul-03 12:26
David Crow5-Jul-03 12:26 
GeneralRe: how I can know which character can output? Pin
RChin6-Jul-03 23:25
RChin6-Jul-03 23:25 
GeneralTR1 (C++ Standard) Pin
Andrew Walker5-Jul-03 3:48
Andrew Walker5-Jul-03 3:48 
GeneralDEBUG ASSERTION FAILED: File: afx.inl Line: 157 Pin
spokes5-Jul-03 3:33
spokes5-Jul-03 3:33 
GeneralRe: DEBUG ASSERTION FAILED: File: afx.inl Line: 157 Pin
spokes5-Jul-03 4:19
spokes5-Jul-03 4:19 
GeneralOnCmdMsg Pin
grotesque5-Jul-03 2:53
grotesque5-Jul-03 2:53 
GeneralRe: OnCmdMsg Pin
Ryan Binns5-Jul-03 3:27
Ryan Binns5-Jul-03 3:27 

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.