Sid
Fri May 06 15:23:25 CDT 2005
a) I always top-post - get over it!
b) If I understand your memory allocation concern, it would not be an issue
provided that all memory allocated within the DLL (or in a run-time call by
the DLL) was freed in the DLL or the run-time to which it linked. Is that
correct?
Thanks,
Sid.
--
Sid Price's Software Tools.
http://www.Softtools.com
"Victor Bazarov" <v.Abazarov@comAcast.net> wrote in message
news:eIReWinUFHA.3076@TK2MSFTNGP12.phx.gbl...
> Sid Price wrote:
>> I don't understand what you are suggesting. The interface to call the DLL
>> should be fixed and if the DLL links to an older C run-time then that
>> will need to be distributed but the interface into/out of the run-time
>> will be unchanged.
>>
>> What issues are you anticipating?
>
> (a) Please don't top-post.
>
> (b) If the memory is allocated in one run-time and an attempt is made
> to free it using another run-time, it would be inconsequential that
> you ship them both along with your executable. You still may have
> deallocation problems (up to crashes) on your hands. And that's
> the most common problem. I'll let others give more exotic examples.
>
> V