Click here to Skip to main content
16,005,121 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: can i update a function while running project ??? Pin
ThatsAlok16-Jul-07 0:55
ThatsAlok16-Jul-07 0:55 
Generalay da Pin
N.D.Quan16-Jul-07 1:25
N.D.Quan16-Jul-07 1:25 
QuestionNeed help!!! Embedding Winsock-Server in my App Pin
c_explorer14-Jul-07 10:32
c_explorer14-Jul-07 10:32 
AnswerRe: Need help!!! Embedding Winsock-Server in my App Pin
Mark Salsbery14-Jul-07 11:28
Mark Salsbery14-Jul-07 11:28 
GeneralRe: Need help!!! Embedding Winsock-Server in my App Pin
c_explorer14-Jul-07 12:48
c_explorer14-Jul-07 12:48 
QuestionInline functions Pin
tom groezer14-Jul-07 10:11
tom groezer14-Jul-07 10:11 
AnswerRe: Inline functions Pin
c_explorer14-Jul-07 11:47
c_explorer14-Jul-07 11:47 
AnswerRe: Inline functions Pin
Chris Losinger14-Jul-07 19:02
professionalChris Losinger14-Jul-07 19:02 
there's a lot of info in the MSDN for this, under the "inline" keyword.

here's some of it:

---

Even with __forceinline, the compiler cannot inline code in all circumstances. The compiler cannot inline a function if:

The function or its caller is compiled with /Ob0 (the default option for debug builds).

The function and the caller use different types of exception handling (C++ exception handling in one, structured exception handling in the other).

The function has a variable argument list.

The function uses inline assembly, unless compiled with /Og, /Ox, /O1, or /O2.

The function is recursive and not accompanied by #pragma inline_recursion(on). With the pragma, recursive functions are inlined to a default depth of 16 calls. To reduce the inlining depth, use inline_depth pragma.

The function is virtual and is called virtually. Direct calls to virtual functions can be inlined.

The program takes the address of the function and the call is made via the pointer to the function. Direct calls to functions that have had their address taken can be inlined.

The function is also marked with the naked __declspec modifier.

---


QuestionPreventing redraw. Pin
paper6714-Jul-07 10:07
paper6714-Jul-07 10:07 
AnswerRe: Preventing redraw. Pin
Mark Salsbery14-Jul-07 11:37
Mark Salsbery14-Jul-07 11:37 
QuestionCache hit rates Pin
tom groezer14-Jul-07 10:00
tom groezer14-Jul-07 10:00 
AnswerRe: Cache hit rates Pin
Steve Echols14-Jul-07 18:31
Steve Echols14-Jul-07 18:31 
GeneralRe: Cache hit rates Pin
David Crow16-Jul-07 4:54
David Crow16-Jul-07 4:54 
AnswerRe: Cache hit rates Pin
Randor 15-Jul-07 0:37
professional Randor 15-Jul-07 0:37 
QuestionObject return by value Pin
tom groezer14-Jul-07 9:30
tom groezer14-Jul-07 9:30 
AnswerRe: Object return by value Pin
DevMentor.org14-Jul-07 10:04
DevMentor.org14-Jul-07 10:04 
GeneralRe: Object return by value Pin
tom groezer14-Jul-07 13:54
tom groezer14-Jul-07 13:54 
GeneralRe: Object return by value Pin
DevMentor.org14-Jul-07 16:37
DevMentor.org14-Jul-07 16:37 
GeneralRe: Object return by value Pin
Mark Salsbery14-Jul-07 16:43
Mark Salsbery14-Jul-07 16:43 
GeneralRe: Object return by value Pin
tom groezer14-Jul-07 21:12
tom groezer14-Jul-07 21:12 
GeneralRe: Object return by value Pin
Mark Salsbery14-Jul-07 21:29
Mark Salsbery14-Jul-07 21:29 
QuestionRandom text Pin
dellthinker14-Jul-07 9:26
dellthinker14-Jul-07 9:26 
AnswerRe: Random text Pin
Perspx14-Jul-07 10:59
Perspx14-Jul-07 10:59 
AnswerRe: Random text Pin
#realJSOP15-Jul-07 2:01
professional#realJSOP15-Jul-07 2:01 
Questionwrong code Pin
tom groezer14-Jul-07 7:05
tom groezer14-Jul-07 7: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.