Are the cross dll allocations ok?
If I have an application that uses at least two dlls, is it generally safe to allocate resources in one dll and free them in the other?
I am thinking specifically about calling fopen and fclose in different dlls, but I would also like to know that it is safe for other resources (memory pointers, descriptors, etc.).
I think as long as everything is compiled with the same switches it should work.
Thanks, Cory
0
a source to share
2 answers