Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Date: Wed, 8 Jan 2003 14:07:10 -0500
From: Travis Whitton <whitton@atlantic.net>
To: cygwin@cygwin.com
Subject: Re: Problem going from .o -> .dll
Message-ID: <20030108190710.GA16635@grub.ath.cx>
Reply-To: Travis Whitton <whitton@atlantic.net>
References: <20030108162949.GA16269@grub.ath.cx> <52360.213.38.17.50.1042048337.squirrel@raq299.uk2net.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <52360.213.38.17.50.1042048337.squirrel@raq299.uk2net.com>
User-Agent: Mutt/1.3.28i
X-Grub-Uptime: 12:56:48 up 7 days, 17:25,  1 user,  load average: 1.00, 1.01, 1.00

> This is not a forum for debugging other peoples' code, but ...
> 
> 1.  You are using HANDLE *  instead of HANDLE
> 2.  Your logic for nul termination is totally wrong:
> snip....
> Try that little lot and see what happens.  At the worst it will let you
> diagnose any real error correctly.

Thank you kindly for the suggested fixes. I have applied them; however,
the problem is still there. I guess I can just build my wrapper using
the object file instead of a dll file, but I am curious why the two
would behave differently.

-
Travis Whitton <whitton@atlantic.net>

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

