delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/12/12/22:14:38

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
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
X-Authentication-Warning: hp2.xraylith.wisc.edu: khan owned process doing -bs
Date: Sun, 12 Dec 1999 20:13:03 -0600 (CST)
From: Mumit Khan <khan AT NanoTech DOT Wisc DOT EDU>
To: Alex Bertram <alexkb AT usa DOT net>
cc: cygwin AT sourceware DOT cygnus DOT com
Subject: Re: fstream calls in cygwin dll
In-Reply-To: <19991212232503.29952.qmail@nwcst291.netaddress.usa.net>
Message-ID: <Pine.HPP.3.96.991212200939.7417B-100000@hp2.xraylith.wisc.edu>
MIME-Version: 1.0

On 12 Dec 1999, Alex Bertram wrote:

>  Thanks to Mummit Khan for both his response and voluminous docs! 

First time I've been accused of having voluminous docs ;-) The problem
we have is not enough docs, and what we have is scattered all over the
place. Getting better however.

> I've been successfull in calling my cygwin dll based upon gnu plotutils by
> visual basic 6.0, and i'm that much closer to convincing my company that
> integrating unix apps/library/os's in our microsoft shop is a *GOOD* thing.
> 
> however, the dll brings down the app following any call to cout, cerr, cin or
> my iofstream objects. I can go ahead and use fopen, fread and the like, but is
> this a problem that's been solved already?

Please describe what you're trying to do first before sending in snippets
which mean nothing without the context. Are you building a (1) "normal"
Cygwin DLL, (2) Mingw DLL, or (3) Cygwin DLL to be dynamically loaded by 
a non-Cygwin app such as Java JNI or Excel????

(1) and (2) should have no problem. For (3), B20.1 has just enough support
for trivial code to work, but breaks down for anything more. I finally had
the time to fix it up and it's now included in the Cygwin development
snapshots (downloadable from Cygwin ftp site). Cygwin B21 aka 1.0.1 should
have the changes.

Regards,
Mumit



--
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