Memory management in a COM Addin.

T

Tom Caldwell

I'm writing an addin using C++ and ATL. What are the recommended memory
management functions to use?

Tom
 
M

Matt Jacobs

Tom Caldwell said:
I'm writing an addin using C++ and ATL. What are the recommended memory
management functions to use?

Tom

new? ;-)

Probably anything you like. An add-in is an in-process COM object, so
whatever you would use internally in a COM object or DLL should be
fine in an add-in. Unless you're trying to avoid distributing the CRT,
for instance.
 
Top