Re: string & on a DLL boundary



Andrew Chalk wrote:

Thanks!

I've a feeling a lot of people make this mistake exactly once. -:)

Andrew:

If you like to use static linking, as I do, another approach is to dedign your DLL interfaces so that they never require creating memeory in one module and freeing it in another.

If this is part of your design methodology it is not so hard, but to retrofit it to an exisong application may not be so easy.

David Wilkinson
.


Loading