Click here to Skip to main content
16,007,885 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralODBC Localisation Pin
James Spibey26-Nov-01 21:45
James Spibey26-Nov-01 21:45 
GeneralRe: ODBC Localisation Pin
Martin Ziacek27-Nov-01 6:13
Martin Ziacek27-Nov-01 6:13 
QuestionCan VC use the class exporting by other compiler? Pin
wenxi7926-Nov-01 21:31
wenxi7926-Nov-01 21:31 
AnswerRe: Can VC use the class exporting by other compiler? Pin
Rashid Thadha26-Nov-01 22:40
Rashid Thadha26-Nov-01 22:40 
GeneralATL - Error Pin
Bernhard26-Nov-01 20:31
Bernhard26-Nov-01 20:31 
GeneralRe: ATL - Error Pin
Rashid Thadha26-Nov-01 22:44
Rashid Thadha26-Nov-01 22:44 
GeneralRe: ATL - Error Pin
Bernhard26-Nov-01 22:57
Bernhard26-Nov-01 22:57 
Generalcreating a operator delete Pin
26-Nov-01 19:35
suss26-Nov-01 19:35 
Hi!
MFC have defined their own new, which I found very useful. It prints out if you have some memory leaks when the program exists. In my project, I can't link with the MFC libs since they contain a Dllmain and I have one too.

I tried to create my own new, and that wasn't any problem. Only give som extra arguments through a define. But I must also create a delete. I thought that the delete operator with equal arguments as the new operator, except for vooid * instead of sizt_t, would be called. But instead the global new is called all the time!

I even tried to copy the MFC-way, but still the original global operator new is called!

Anyone who knows?

//Olof Wolgast
QuestionHowto Serialize a STL container? Pin
Alex Dong26-Nov-01 16:59
Alex Dong26-Nov-01 16:59 
AnswerRe: Howto Serialize a STL container? Pin
Christian Graus26-Nov-01 17:05
protectorChristian Graus26-Nov-01 17:05 
GeneralRe: Howto Serialize a STL container? Pin
Alex Dong26-Nov-01 18:28
Alex Dong26-Nov-01 18:28 
GeneralRe: Howto Serialize a STL container? Pin
Christian Graus26-Nov-01 18:36
protectorChristian Graus26-Nov-01 18:36 
GeneralRe: Howto Serialize a STL container? Pin
Alex Dong26-Nov-01 18:45
Alex Dong26-Nov-01 18:45 
GeneralRe: Howto Serialize a STL container? Pin
Christian Graus26-Nov-01 18:49
protectorChristian Graus26-Nov-01 18:49 
GeneralRe: Howto Serialize a STL container? Pin
Alex Dong26-Nov-01 18:52
Alex Dong26-Nov-01 18:52 
GeneralRe: Howto Serialize a STL container? Pin
Christian Graus26-Nov-01 18:59
protectorChristian Graus26-Nov-01 18:59 
GeneralRe: Howto Serialize a STL container? Pin
Alex Dong26-Nov-01 19:04
Alex Dong26-Nov-01 19:04 
AnswerRe: Howto Serialize a STL container? Pin
Ravi Bhavnani26-Nov-01 18:45
professionalRavi Bhavnani26-Nov-01 18:45 
GeneralRe: Howto Serialize a STL container? Pin
Alex Dong26-Nov-01 18:49
Alex Dong26-Nov-01 18:49 
GeneralRe: Howto Serialize a STL container? Pin
Ravi Bhavnani26-Nov-01 19:14
professionalRavi Bhavnani26-Nov-01 19:14 
GeneralActiveX Control Path Pin
Yong Haur TAY26-Nov-01 16:40
Yong Haur TAY26-Nov-01 16:40 
GeneralCHtmlView, Access Violation On Resize.. aaiiieeee!!! Pin
foobat26-Nov-01 16:38
foobat26-Nov-01 16:38 
GeneralSorting ComboBox items ! Pin
Hadi Rezaee26-Nov-01 15:21
Hadi Rezaee26-Nov-01 15:21 
GeneralRemoving the sunken border in a CFormView Pin
26-Nov-01 15:16
suss26-Nov-01 15:16 
GeneralRe: Removing the sunken border in a CFormView Pin
Joshua Guy27-Nov-01 8:14
Joshua Guy27-Nov-01 8:14 

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.