From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11698 invoked by alias); 15 Feb 2002 00:14:18 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Received: (qmail 11629 invoked from network); 15 Feb 2002 00:14:17 -0000 Received: from unknown (HELO q-games.com) (210.170.252.82) by sources.redhat.com with SMTP; 15 Feb 2002 00:14:17 -0000 Received: from Spooler by q-games.com (Mercury/32 v3.21c) ID MO000099; 15 Feb 02 09:14:31 +0900 Received: from spooler by q-games.com (Mercury/32 v3.21c); 15 Feb 02 09:14:16 +0900 Received: from dcuthbert2k (192.168.1.40) by Q-Games (Mercury/32 v3.21c) ID MG000098; 15 Feb 02 09:14:14 +0900 Message-ID: <001c01c1b5b5$cc7062f0$2801a8c0@dcuthbert2k> From: "Dylan Cuthbert" To: References: <4.3.1.2.20020213102635.01e014a0@pop.ma.ultranet.com> <003201c1b504$8f23a8a0$2801a8c0@dcuthbert2k> <007d01c1b51e$34a7e7f0$2801a8c0@dcuthbert2k> <20020214152307.GF23253@redhat.com> Subject: Re: cygwin gcc DLLs loaded by Visual C++ crashing - SOLVED Date: Thu, 14 Feb 2002 16:14:00 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-SW-Source: 2002-02/txt/msg00753.txt.bz2 It surely doesn't matter if we aren't distributing our code to anyone other than ourselves, otherwise you've probably got millions of offenders of the GPL. We're only using cygwin to prototype some stuff, not to make any viable product as it just isn't stable/reliable/secure enough unfortunately (yet). Its a brilliant environment for creativity and experimentation though. Give me a break, I will update the FAQ with a patch just as I did for the DirectX/DirectDraw 8 stuff, if only for the knowledge that other people don't have to go trawling through thousands of pages of out-dated advice only to find none of it works (documentation karma). I'll also put that zip file up on the page below. (it works for both gcc 2.95.3-5 and 3.0.3 by the way) We're still getting some problems (an exception) unloading the dll we created, but only from within the Maya plugin. Apart from that it all seems to work fine so far. I think that problem has more to do with the way Maya calls its plugins (as static modules in memory) and is unrelated to cygwin I hope. Best Regards --------------------------------- Q-Games, Dylan Cuthbert. http://www.q-games.com/personal/utils ----- Original Message ----- From: "Christopher Faylor" To: Sent: Friday, February 15, 2002 12:23 AM Subject: Re: cygwin gcc DLLs loaded by Visual C++ crashing - SOLVED > On Thu, Feb 14, 2002 at 03:09:47PM +0900, Dylan Cuthbert wrote: > > > >The FAQ/User Manual leads everyone in completely the wrong direction. > > > >If anyone else wants to get CYGWIN C++ programs running as dlls loaded by > >Visual C++ programs, use the attached example as a basis, it is *really* > >simple. This only allows Visual C++ to access the C functions of course, > >but that allows the generation of a simplified layer to gcc's c++ and our > >own c++ libraries. > > > >We are now able to interface our cygwin programs with our Maya plugin (which > >is forced unfortunately to use VC++). > > Hmm. I didn't see an update for the FAQ which "reverses the direction" > in your attachment. Did I miss something? > > You do realize that if you are using the cygwin DLL, your code is GPLed, > right? > > cgf > > -- > Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple > Bug reporting: http://cygwin.com/bugs.html > Documentation: http://cygwin.com/docs.html > FAQ: http://cygwin.com/faq/ > -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/