- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I know I've read a bit about this in various posts, but I wonder if you have a comprehensive document about issuesconcerning mixing programs compiled with the two compilers.
We have ported our large engineering application from CVF to IVF (9.1 at the moment). However, there is one library (a dynamically loaded DLL) that we use that is currently compiled with CVF that is not under our direct control. We are hopeful that it will be converted as well, but, if it is not, I'm wondering what to expect.
We've set up our builds to use /iface:cvf (because of all the C source that we have that assumed that), so that won't be an issue. I'm aware that the two run-times do not share I/O control blocks, but that won't be a problem in this case, either. I'm not aware of any other problems.
A particular concern is that we pass unassociated pointers to routines in this library, which we expect to be returned allocated, and then expect to deallocate ourselves.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
In general, we simply say "don't mix IVF and CVF". Mixing at the .obj/.lib level simply doesn't work at all. A DLL hides MOST of the incompatibilities, but you can't share I/O or pass assumed-shape arrays.
I've been trying to think of a way to work around this, with some sort of jacket routines that "convert" things, but it's a lot of work and messy and would require some changes to your existing code.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page