Click here to Skip to main content
15,913,145 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questiontry-catch dynamic memory cleanup Pin
x87Bliss4-Aug-08 20:21
x87Bliss4-Aug-08 20:21 
AnswerRe: try-catch dynamic memory cleanup Pin
pallaka4-Aug-08 20:39
pallaka4-Aug-08 20:39 
AnswerRe: try-catch dynamic memory cleanup Pin
Cedric Moonen4-Aug-08 20:39
Cedric Moonen4-Aug-08 20:39 
AnswerRe: try-catch dynamic memory cleanup Pin
not_in_use5-Aug-08 8:33
not_in_use5-Aug-08 8:33 
GeneralRe: try-catch dynamic memory cleanup Pin
x87Bliss5-Aug-08 11:25
x87Bliss5-Aug-08 11:25 
GeneralRe: try-catch dynamic memory cleanup Pin
not_in_use5-Aug-08 12:07
not_in_use5-Aug-08 12:07 
AnswerRe: try-catch dynamic memory cleanup Pin
Stephen Hewitt5-Aug-08 14:05
Stephen Hewitt5-Aug-08 14:05 
QuestionHow to install MyApp.exe from custom actions in setup and deployment type project in VS2005 Pin
kapardhi4-Aug-08 20:09
kapardhi4-Aug-08 20:09 
AnswerRe: How to install MyApp.exe from custom actions in setup and deployment type project in VS2005 Pin
_AnsHUMAN_ 4-Aug-08 20:26
_AnsHUMAN_ 4-Aug-08 20:26 
AnswerRe: How to install MyApp.exe from custom actions in setup and deployment type project in VS2005 Pin
KarstenK4-Aug-08 21:19
mveKarstenK4-Aug-08 21:19 
QuestionHow to set Debug Info option in vc++6.0 for command line build? Pin
Super Hornet4-Aug-08 19:48
Super Hornet4-Aug-08 19:48 
QuestionRe: How to set Debug Info option in vc++6.0 for command line build? Pin
Super Hornet4-Aug-08 21:25
Super Hornet4-Aug-08 21:25 
QuestionHow to change Regional Settings(API)? Pin
ritz12344-Aug-08 19:36
ritz12344-Aug-08 19:36 
Questioncreate data base in vc++6 Pin
ani_ikram4-Aug-08 18:27
ani_ikram4-Aug-08 18:27 
AnswerRe: create data base in vc++6 Pin
_AnsHUMAN_ 4-Aug-08 20:00
_AnsHUMAN_ 4-Aug-08 20:00 
GeneralRe: create data base in vc++6 Pin
ani_ikram4-Aug-08 20:56
ani_ikram4-Aug-08 20:56 
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 

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.