Quote Originally Posted by cilu View Post
No. That should work. I told that you must delete from the same CRT version you allocated dynamic memory. As for structures with different layouts, that doesn't refer to ints.
Are you saying then, my only main issue to really worry about is dynamically allocated memory that is passed between them? If so, I can probably work around that as I don't think it is done thaaat much any way.

However, what about regular allocated memory? Will that possibly be an issue? I believe there is a lot of instantiating a class on the calling side (which will be the VC++ 6 side) and then calling a function in the DLL with that object pointer as an argument. That sounds like it could be an issue if the CRT has different sizes for any data types in that class.