Click here to Skip to main content
15,032,024 members
Home / Discussions / Managed C++/CLI
   

Managed C++/CLI

 
GeneralRe: Please explain below code.... Pin
Richard MacCutchan15-Mar-12 6:54
mveRichard MacCutchan15-Mar-12 6:54 
Questionwhy construction called when i overload the operator new in c++ by calling malloc Pin
AARON_ZXF2-Mar-12 23:05
MemberAARON_ZXF2-Mar-12 23:05 
AnswerRe: why construction called when i overload the operator new in c++ by calling malloc Pin
Richard MacCutchan2-Mar-12 23:16
mveRichard MacCutchan2-Mar-12 23:16 
GeneralRe: why construction called when i overload the operator new in c++ by calling malloc Pin
Albert Holguin21-Mar-12 8:50
professionalAlbert Holguin21-Mar-12 8:50 
GeneralRe: why construction called when i overload the operator new in c++ by calling malloc Pin
Richard MacCutchan27-Mar-12 22:03
mveRichard MacCutchan27-Mar-12 22:03 
AnswerRe: why construction called when i overload the operator new in c++ by calling malloc Pin
Philippe Mori3-Mar-12 5:09
MemberPhilippe Mori3-Mar-12 5:09 
AnswerRe: why construction called when i overload the operator new in c++ by calling malloc Pin
Albert Holguin21-Mar-12 8:45
professionalAlbert Holguin21-Mar-12 8:45 
AnswerRe: why construction called when i overload the operator new in c++ by calling malloc Pin
Philippe Mori6-Apr-12 14:43
MemberPhilippe Mori6-Apr-12 14:43 
It is defined by the standard to works that way. By the way, why would you wany to override operator new. It is hard to do correctly and efficiently.

And it C++, it never a good idea to create an object without calling its constructor. Thus why you would want it that way?

Also, if you override new, then you should probably override delete also to have a matching implementation.
Philippe Mori

QuestionIs it safe to pass CComVariant declared locally ot other function Pin
ptr_Electron21-Feb-12 1:57
Memberptr_Electron21-Feb-12 1:57 
QuestionMouseEnter and MouseLeave Events Pin
Lucidation20-Feb-12 11:54
MemberLucidation20-Feb-12 11:54 
QuestionClass Constructor in C++ Pin
Lamos Paul20-Feb-12 8:38
MemberLamos Paul20-Feb-12 8:38 
AnswerRe: Class Constructor in C++ Pin
Richard Andrew x6420-Feb-12 9:14
professionalRichard Andrew x6420-Feb-12 9:14 
GeneralRe: Class Constructor in C++ Pin
Lamos Paul20-Feb-12 9:45
MemberLamos Paul20-Feb-12 9:45 
AnswerRe: Class Constructor in C++ Pin
Maximilien20-Feb-12 9:43
MemberMaximilien20-Feb-12 9:43 
GeneralRe: Class Constructor in C++ Pin
Lamos Paul20-Feb-12 10:50
MemberLamos Paul20-Feb-12 10:50 
GeneralRe: Class Constructor in C++ Pin
Richard MacCutchan20-Feb-12 22:11
mveRichard MacCutchan20-Feb-12 22:11 
AnswerRe: Class Constructor in C++ Pin
jschell20-Feb-12 10:29
Memberjschell20-Feb-12 10:29 
QuestionFading a Form Pin
Lucidation18-Feb-12 7:15
MemberLucidation18-Feb-12 7:15 
AnswerRe: Fading a Form Pin
Philippe Mori18-Feb-12 8:28
MemberPhilippe Mori18-Feb-12 8:28 
GeneralRe: Fading a Form Pin
Lucidation18-Feb-12 13:55
MemberLucidation18-Feb-12 13:55 
AnswerRe: Fading a Form Pin
Luc Pattyn18-Feb-12 14:15
sitebuilderLuc Pattyn18-Feb-12 14:15 
QuestionCArchiveException exception is not caught in catch(CArchiveException* e) block Pin
ptr_Electron17-Feb-12 5:21
Memberptr_Electron17-Feb-12 5:21 
AnswerRe: CArchiveException exception is not caught in catch(CArchiveException* e) block Pin
Mohibur Rashid17-Feb-12 5:51
professionalMohibur Rashid17-Feb-12 5:51 
GeneralRe: CArchiveException exception is not caught in catch(CArchiveException* e) block Pin
ptr_Electron17-Feb-12 20:16
Memberptr_Electron17-Feb-12 20:16 
AnswerRe: CArchiveException exception is not caught in catch(CArchiveException* e) block Pin
Richard MacCutchan17-Feb-12 6:35
mveRichard MacCutchan17-Feb-12 6:35 

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.