lists.zerezo.com



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

***BOGO*** Re: [Mingw-users] using MinGW dlls in MSVC++ apps



On Thu, Sep 25, 2008 at 11:16:12PM +0100, Keith Marshall wrote:
> On Thursday 25 September 2008 17:16:00 Brian Dessent wrote:
> > I doubt it's alignment, but rather the fact that the MSVC app is
> > using a different version of the MS runtime (such as MSVCRT80.DLL)
> > whereas MinGW uses MSVCRT.DLL.  If you want to be able to
> > malloc/free across modules like that then they have to be managed
> > by the same heap manager, i.e. the same runtime.  So either hack up
> > MinGW to use the same runtime as the rest of the code...
> 
> Hack up?  See http://www.mingw.org/node/25#comment-106 for details of 
> a way to achieve this cleanly and reversibly; just watch out for 
> stray white space in your specs files, as noted in another recent 
> thread, on this list: 
> http://thread.gmane.org/gmane.comp.gnu.mingw.user/27606/focus=27699

I dunno, I say just put on a condom and then you can link against
whomever you choose.  I'll get a call from someone who wants to try out
one of our SDKs but is still using MSVC 6.  Who wants to maintain 7
versions of their DLLs for all different runtimes.

Marc

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
MinGW-users mailing list
MinGW-users@xxxxxxxxxxxxxxxxxxxxx

You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users