Click here to Skip to main content
14,971,409 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: want to add picture in dialog box Pin
Hamid_RT18-Sep-07 2:48
MemberHamid_RT18-Sep-07 2:48 
GeneralRe: want to add picture in dialog box Pin
Dhiraj kumar Saini18-Sep-07 3:24
MemberDhiraj kumar Saini18-Sep-07 3:24 
GeneralRe: want to add picture in dialog box Pin
Hamid_RT18-Sep-07 19:35
MemberHamid_RT18-Sep-07 19:35 
Questioninserting checkbox in multicolumn ClistCtrl and set width of columns Pin
Dhiraj kumar Saini16-Sep-07 23:40
MemberDhiraj kumar Saini16-Sep-07 23:40 
AnswerRe: inserting checkbox in multicolumn ClistCtrl and set width of columns Pin
Sreedhar DV17-Sep-07 1:31
MemberSreedhar DV17-Sep-07 1:31 
AnswerRe: inserting checkbox in multicolumn ClistCtrl and set width of columns Pin
Hamid_RT17-Sep-07 2:04
MemberHamid_RT17-Sep-07 2:04 
Questioninline or not inline...this is the problem Pin
Russell'16-Sep-07 23:34
MemberRussell'16-Sep-07 23:34 
GeneralRe: inline or not inline...this is the problem Pin
Matthew Faithfull17-Sep-07 0:09
MemberMatthew 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
MemberRussell'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
MemberRussell'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
MemberMaximilien17-Sep-07 1:40 
AnswerRe: inline or not inline...this is the problem Pin
Nemanja Trifunovic17-Sep-07 3:48
MemberNemanja Trifunovic17-Sep-07 3:48 
QuestionDialog bar buttons disabled state. Pin
shivditya16-Sep-07 23:27
Membershivditya16-Sep-07 23:27 
AnswerRe: Dialog bar buttons disabled state. Pin
James R. Twine17-Sep-07 3:11
MemberJames R. Twine17-Sep-07 3:11 
GeneralRe: Dialog bar buttons disabled state. Pin
shivditya17-Sep-07 17:51
Membershivditya17-Sep-07 17:51 
Questionerror Pin
Maynka16-Sep-07 23:22
MemberMaynka16-Sep-07 23:22 
AnswerRe: error Pin
Programm3r17-Sep-07 1:15
MemberProgramm3r17-Sep-07 1:15 
QuestionDrop Thunderbird E-Mail into MFC Application Pin
baerten16-Sep-07 23:02
Memberbaerten16-Sep-07 23:02 
AnswerRe: Drop Thunderbird E-Mail into MFC Application Pin
_AnsHUMAN_ 16-Sep-07 23:31
Member_AnsHUMAN_ 16-Sep-07 23:31 
GeneralRe: Drop Thunderbird E-Mail into MFC Application Pin
baerten17-Sep-07 0:12
Memberbaerten17-Sep-07 0:12 
AnswerRe: Drop Thunderbird E-Mail into MFC Application Pin
James R. Twine17-Sep-07 3:15
MemberJames R. Twine17-Sep-07 3:15 
GeneralRe: Drop Thunderbird E-Mail into MFC Application Pin
baerten17-Sep-07 3:22
Memberbaerten17-Sep-07 3:22 
GeneralRe: Drop Thunderbird E-Mail into MFC Application Pin
James R. Twine17-Sep-07 3:43
MemberJames 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.