Click here to Skip to main content
16,006,749 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: DLL memory Allocation Pin
9-Apr-01 7:17
suss9-Apr-01 7:17 
GeneralRe: DLL memory Allocation Pin
Conor Hunt9-Apr-01 7:25
Conor Hunt9-Apr-01 7:25 
GeneralRe: DLL memory Allocation Pin
MikeG9-Apr-01 7:51
MikeG9-Apr-01 7:51 
GeneralRe: DLL memory Allocation Pin
Conor Hunt9-Apr-01 8:28
Conor Hunt9-Apr-01 8:28 
GeneralRe: DLL memory Allocation Pin
MikeG10-Apr-01 14:58
MikeG10-Apr-01 14:58 
GeneralRe: DLL memory Allocation Pin
Conor Hunt10-Apr-01 15:55
Conor Hunt10-Apr-01 15:55 
GeneralRe: DLL memory Allocation Pin
10-Apr-01 14:18
suss10-Apr-01 14:18 
GeneralRe: DLL memory Allocation Pin
11-Apr-01 1:17
suss11-Apr-01 1:17 
I agree,

The CreateXXX,DestroyXXX approach is a good approach *if* the DLL the is designed to
be used as a black box, where it is always responsible for allocation and deallocation
of resources. However the original poster did not specify that.

Sometimes the black box approach is not appropriate for architectural or performance
reasons. Other times it is. I think both approaches have their merits.

Stephen Kellett

GeneralRasDial Problem Pin
Matt James9-Apr-01 6:06
Matt James9-Apr-01 6:06 
GeneralRe: RasDial Problem Pin
Masaaki Onishi9-Apr-01 7:07
Masaaki Onishi9-Apr-01 7:07 
GeneralAdding line numbers in an edit control when the user presses the return key Pin
Joan M9-Apr-01 5:53
professionalJoan M9-Apr-01 5:53 
GeneralMFC - MDI and threads Pin
Tim Burke9-Apr-01 4:07
Tim Burke9-Apr-01 4:07 
GeneralCant open MS Access 2000 db Pin
Ammar9-Apr-01 0:33
Ammar9-Apr-01 0:33 
GeneralRe: Cant open MS Access 2000 db Pin
Masaaki Onishi9-Apr-01 6:59
Masaaki Onishi9-Apr-01 6:59 
GeneralRe: Cant open MS Access 2000 db Pin
9-Apr-01 9:55
suss9-Apr-01 9:55 
GeneralRe: Cant open MS Access 2000 db Pin
Ammar9-Apr-01 20:47
Ammar9-Apr-01 20:47 
GeneralRe: Cant open MS Access 2000 db Pin
Ammar10-Apr-01 21:44
Ammar10-Apr-01 21:44 
GeneralControls Pin
Drake Elsari8-Apr-01 19:23
Drake Elsari8-Apr-01 19:23 
GeneralRe: Controls Pin
Christian Graus8-Apr-01 19:36
protectorChristian Graus8-Apr-01 19:36 
GeneralRe: Controls Pin
Erik Funkenbusch8-Apr-01 19:51
Erik Funkenbusch8-Apr-01 19:51 
GeneralDialog box prohibits subsequent MessageBox Pin
KeithW8-Apr-01 17:31
KeithW8-Apr-01 17:31 
GeneralRe: Dialog box prohibits subsequent MessageBox Pin
Christian Graus8-Apr-01 18:48
protectorChristian Graus8-Apr-01 18:48 
GeneralRe: Dialog box prohibits subsequent MessageBox Pin
Masaaki Onishi9-Apr-01 6:53
Masaaki Onishi9-Apr-01 6:53 
GeneralDialog Editor Picture Control Pin
Michael Martin8-Apr-01 17:02
professionalMichael Martin8-Apr-01 17:02 
GeneralRe: Dialog Editor Picture Control Pin
Christian Graus8-Apr-01 18:12
protectorChristian Graus8-Apr-01 18:12 

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.