Groups | Blog | Home
all groups > visual c libraries > september 2003 >

visual c libraries : consuming vs6 static library in .net2003 unmanaged client


Aravindakumar
9/10/2003 7:40:16 AM
I am using a static DLL in a client application say a
console application , when the client application is
executed in visual studio6.0 it's working fine when i
built and executed the same client application in
unmanaged visual studio .net 2003 environmet it gives run
time error for function parameter that needs memory
allocation on heap.
I want to know whether the problem is due different
version of compiler's at client and server end . Is there
David Lowndes
9/10/2003 5:03:29 PM
[quoted text, click to view]

Yes, that's likely to be the issue.

[quoted text, click to view]

Only to re-design the interface so that it doesn't pass any heap
allocated parameters across the library boundary - or uses some other
shared common memory allocation that's not compiler dependent.

Dave
--
AddThis Social Bookmark Button