D
Davis
Hi, I'm confused about one issue. If a form PInvokes into
unmanaged dll are any resources allocated as a result of the
PInvoke call itself. I read somewhere that an object which allocates
unmnaged resources needs to be manually disposed.
My current thinking is that a Pinvoke does not allocate an
unmanged resource as a result of the call itself..
The unmanged dll may (in my case does and frees them,i've checked with
CodeSnitch).
So as long as any resources in the unmanged code are freed one is ok.
Is this correct?
Thanks
unmanaged dll are any resources allocated as a result of the
PInvoke call itself. I read somewhere that an object which allocates
unmnaged resources needs to be manually disposed.
My current thinking is that a Pinvoke does not allocate an
unmanged resource as a result of the call itself..
The unmanged dll may (in my case does and frees them,i've checked with
CodeSnitch).
So as long as any resources in the unmanged code are freed one is ok.
Is this correct?
Thanks