Click here to Skip to main content
15,891,431 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: want to add picture in dialog box Pin
Hamid_RT18-Sep-07 2:48
Hamid_RT18-Sep-07 2:48 
GeneralRe: want to add picture in dialog box Pin
Dhiraj kumar Saini18-Sep-07 3:24
Dhiraj kumar Saini18-Sep-07 3:24 
GeneralRe: want to add picture in dialog box Pin
Hamid_RT18-Sep-07 19:35
Hamid_RT18-Sep-07 19:35 
Questioninserting checkbox in multicolumn ClistCtrl and set width of columns Pin
Dhiraj kumar Saini16-Sep-07 23:40
Dhiraj kumar Saini16-Sep-07 23:40 
AnswerRe: inserting checkbox in multicolumn ClistCtrl and set width of columns Pin
Sreedhar DV17-Sep-07 1:31
Sreedhar DV17-Sep-07 1:31 
AnswerRe: inserting checkbox in multicolumn ClistCtrl and set width of columns Pin
Hamid_RT17-Sep-07 2:04
Hamid_RT17-Sep-07 2:04 
Questioninline or not inline...this is the problem Pin
Russell'16-Sep-07 23:34
Russell'16-Sep-07 23:34 
GeneralRe: inline or not inline...this is the problem Pin
Matthew Faithfull17-Sep-07 0:09
Matthew Faithfull17-Sep-07 0:09 
To get inlining to work you generally need to implement the function in the header file. i.e. no separate declaration and definition, all in one like:-

in file.h
<br />
inline double foo(/*...*/)<br />
{<br />
//...<br />
}<br />


Note that there are numerous reasons why the MS C++ Compiler might refuse to inline or auto inline functions without being asked not all of which are even publicly documented. There is no way to gaurantee inlining even using __force_inline the compiler can still ignore the instruction. Also inlining tends to disappear in Debug builds as compared with Release so it's difficult to prove whether it's happening or not wihtout examining Release code at the assembly level. Any kind of instrumentation or leaving debug information in is quite likely to alter the compiler's inlining decisions anyway. Microsoft's take is basically truct the compiler and don't worry about it.

Nothing is exactly what it seems but everything with seems can be unpicked.

GeneralRe: inline or not inline...this is the problem Pin
Russell'17-Sep-07 0:34
Russell'17-Sep-07 0:34 
GeneralRe: inline or not inline...this is the problem Pin
Chris Losinger17-Sep-07 3:26
professionalChris Losinger17-Sep-07 3:26 
GeneralRe: inline or not inline...this is the problem Pin
Russell'17-Sep-07 3:45
Russell'17-Sep-07 3:45 
AnswerRe: inline or not inline...this is the problem Pin
KarstenK17-Sep-07 0:12
mveKarstenK17-Sep-07 0:12 
AnswerRe: inline or not inline...this is the problem Pin
Maximilien17-Sep-07 1:40
Maximilien17-Sep-07 1:40 
AnswerRe: inline or not inline...this is the problem Pin
Nemanja Trifunovic17-Sep-07 3:48
Nemanja Trifunovic17-Sep-07 3:48 
QuestionDialog bar buttons disabled state. Pin
shivditya16-Sep-07 23:27
shivditya16-Sep-07 23:27 
AnswerRe: Dialog bar buttons disabled state. Pin
James R. Twine17-Sep-07 3:11
James R. Twine17-Sep-07 3:11 
GeneralRe: Dialog bar buttons disabled state. Pin
shivditya17-Sep-07 17:51
shivditya17-Sep-07 17:51 
Questionerror Pin
Maynka16-Sep-07 23:22
Maynka16-Sep-07 23:22 
AnswerRe: error Pin
Programm3r17-Sep-07 1:15
Programm3r17-Sep-07 1:15 
QuestionDrop Thunderbird E-Mail into MFC Application Pin
baerten16-Sep-07 23:02
baerten16-Sep-07 23:02 
AnswerRe: Drop Thunderbird E-Mail into MFC Application Pin
_AnsHUMAN_ 16-Sep-07 23:31
_AnsHUMAN_ 16-Sep-07 23:31 
GeneralRe: Drop Thunderbird E-Mail into MFC Application Pin
baerten17-Sep-07 0:12
baerten17-Sep-07 0:12 
AnswerRe: Drop Thunderbird E-Mail into MFC Application Pin
James R. Twine17-Sep-07 3:15
James R. Twine17-Sep-07 3:15 
GeneralRe: Drop Thunderbird E-Mail into MFC Application Pin
baerten17-Sep-07 3:22
baerten17-Sep-07 3:22 
GeneralRe: Drop Thunderbird E-Mail into MFC Application Pin
James R. Twine17-Sep-07 3:43
James R. Twine17-Sep-07 3:43 

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.