Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Wed, 8 Jan 2003 14:07:10 -0500 From: Travis Whitton To: cygwin AT cygwin DOT com Subject: Re: Problem going from .o -> .dll Message-ID: <20030108190710.GA16635@grub.ath.cx> Reply-To: Travis Whitton References: <20030108162949 DOT GA16269 AT grub DOT ath DOT cx> <52360 DOT 213 DOT 38 DOT 17 DOT 50 DOT 1042048337 DOT squirrel AT raq299 DOT uk2net DOT 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 -- 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/