delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/11/03/23:03:51

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT sourceware DOT cygnus DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-Id: <4.2.0.58.19991103220205.009de960@postoffice5.mail.cornell.edu>
X-Sender: jbp4 AT postoffice5 DOT mail DOT cornell DOT edu
X-Mailer: QUALCOMM Windows Eudora Pro Version 4.2.0.58
Date: Wed, 03 Nov 1999 22:02:10 -0500
To: cygwin AT sourceware DOT cygnus DOT com
From: Josh Pollak <jbp4 AT cornell DOT edu>
Subject: Problems with Mingw and DLL
Mime-Version: 1.0

Hello,

	As far as I can tell, this is the proper place to discuss this sort of 
thing. I am trying to compile a DLL for Mingw (Without cygwin), that I can 
already compile successfully in Visual C 6.0. I have heard from the author 
of the sdk I am using that this will not work because:

 >Currently vtable referencing doesn't work with the EGCS GCC (Mingw) for 
Windows.  So
 >you must make sure you use the C-Interface functions instead of the DMFC 
class
 >members.

	What exactly does this mean, and is it true? I am using Mingw GCC 2.95. I 
understand that the Cygwin GCC 2.95 has been patched to fix some bitfield 
issues. Is this related to my problem?
	Currently, my DLL compiles and builds (using dllwrap) just fine, and the 
Application that uses the DLL seems to load it and call a few functions 
from it just fine for a while before crashing. Unfortunately, I cannot 
debug it at all or give an information about the crash because the error 
message is hidden by a fullscreen DirectX window.
	It would be very helpful if Mingw could handle this sort of development, 
especially because I would like to help many other people without access to 
Visual C write DLL's like mine, but this issue needs to be overcome first.
	Thanks for any help anyone can lend. And again, I'm sorry if this is 
posted to the wrong place.

-Josh Pollak
---
jbp4 AT cornell DOT edu

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019