public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: "Dylan Cuthbert" <dylan@q-games.com>
To: <cygwin@cygwin.com>
Subject: Re: cygwin gcc DLLs loaded by Visual C++ crashing - SOLVED
Date: Thu, 14 Feb 2002 16:14:00 -0000	[thread overview]
Message-ID: <001c01c1b5b5$cc7062f0$2801a8c0@dcuthbert2k> (raw)
In-Reply-To: <20020214152307.GF23253@redhat.com>


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" <cgf@redhat.com>
To: <cygwin@cygwin.com>
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/

  reply	other threads:[~2002-02-15  0:14 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-02-13  2:57 cygwin C++ DLLs and inter-operation with M$OFT Dylan Cuthbert
2002-02-13  7:37 ` Larry Hall (RFK Partners, Inc)
2002-02-13 19:06   ` cygwin gcc DLLs loaded by Visual C++ crashing Dylan Cuthbert
2002-02-13 22:09     ` cygwin gcc DLLs loaded by Visual C++ crashing - SOLVED Dylan Cuthbert
2002-02-14  7:23       ` Christopher Faylor
2002-02-14 16:14         ` Dylan Cuthbert [this message]
2002-02-14 16:35           ` Christopher Faylor

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='001c01c1b5b5$cc7062f0$2801a8c0@dcuthbert2k' \
    --to=dylan@q-games.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).