Click here to Skip to main content
15,900,108 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: create data base in vc++6 Pin
_AnsHUMAN_ 4-Aug-08 21:46
_AnsHUMAN_ 4-Aug-08 21:46 
QuestionAn exception occurred while trying to run "Shell32.dll,Control_RunDLL ConnectorCpl.cpl Pin
monsieur_jj4-Aug-08 17:23
monsieur_jj4-Aug-08 17:23 
QuestionLINK : fatal error LNK1104: Pin
ani_ikram4-Aug-08 17:23
ani_ikram4-Aug-08 17:23 
AnswerRe: LINK : fatal error LNK1104: Pin
sudhir_Kumar4-Aug-08 19:20
sudhir_Kumar4-Aug-08 19:20 
QuestionClient rectangle not actualized after menu removal Pin
FloatingMarc4-Aug-08 16:40
FloatingMarc4-Aug-08 16:40 
QuestionInlining of consts Pin
not_in_use4-Aug-08 12:17
not_in_use4-Aug-08 12:17 
AnswerRe: Inlining of consts Pin
sashoalm4-Aug-08 21:53
sashoalm4-Aug-08 21:53 
GeneralRe: Inlining of consts Pin
not_in_use5-Aug-08 7:54
not_in_use5-Aug-08 7:54 
Thanks for your reply. Inline functions are not a problem with DLLs since the implementation has to be inside the header files, which means that the source code is available and can be inlined by the compiler, so no problem there.

The solution you are proposing is exactly what the macro from my post would do (the macro would just add the benefit that it is transparent to client code because it would provide the semantics of a regular const). But I found it hard to believe that C++ offers no built-in solution. I mean, the standard allows inlining of functions, but it doesn't seem to be able to inline constants. Well, I guess I'll just have to bite the bullet and live with it then.

Thanks again,
Peter
QuestionIFilter index Pin
tustin4-Aug-08 11:31
tustin4-Aug-08 11:31 
QuestionConcatenating Icons on status bar Pin
daves444-Aug-08 9:41
daves444-Aug-08 9:41 
QuestionWriting to a bitmap Pin
Anthony Appleyard4-Aug-08 9:31
Anthony Appleyard4-Aug-08 9:31 
AnswerRe: Writing to a bitmap Pin
Perspx4-Aug-08 9:36
Perspx4-Aug-08 9:36 
GeneralRe: Writing to a bitmap Pin
Anthony Appleyard4-Aug-08 9:52
Anthony Appleyard4-Aug-08 9:52 
GeneralRe: Writing to a bitmap Pin
Perspx4-Aug-08 9:57
Perspx4-Aug-08 9:57 
QuestionRe: Writing to a bitmap Pin
David Crow4-Aug-08 16:36
David Crow4-Aug-08 16:36 
QuestionHow to get file size? Pin
__DanC__4-Aug-08 7:39
__DanC__4-Aug-08 7:39 
AnswerRe: How to get file size? Pin
vikas amin4-Aug-08 8:08
vikas amin4-Aug-08 8:08 
AnswerRe: How to get file size? Pin
Mark Salsbery4-Aug-08 9:08
Mark Salsbery4-Aug-08 9:08 
QuestionCreateBitmapIndirect woes Pin
Anthony Appleyard4-Aug-08 6:34
Anthony Appleyard4-Aug-08 6:34 
AnswerRe: CreateBitmapIndirect woes Pin
Mark Salsbery4-Aug-08 7:37
Mark Salsbery4-Aug-08 7:37 
QuestionDoubt regarding server application Pin
sunny_vc4-Aug-08 3:13
sunny_vc4-Aug-08 3:13 
GeneralRe: Doubt regarding server application Pin
Perspx4-Aug-08 3:15
Perspx4-Aug-08 3:15 
QuestionRe: Doubt regarding server application Pin
led mike4-Aug-08 4:27
led mike4-Aug-08 4:27 
AnswerRe: Doubt regarding server application Pin
vikas amin4-Aug-08 7:32
vikas amin4-Aug-08 7:32 
QuestionConverting a number to binary Pin
programming.student4-Aug-08 1:48
programming.student4-Aug-08 1:48 

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.