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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top