|
-
June 15th, 2009, 11:28 AM
#7
Re: What type of project for DLL?
 Originally Posted by cilu
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|