delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/01/08/15:22:17

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
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 <whitton AT atlantic DOT net>
To: cygwin AT cygwin DOT com
Subject: Re: Problem going from .o -> .dll
Message-ID: <20030108190710.GA16635@grub.ath.cx>
Reply-To: Travis Whitton <whitton AT atlantic DOT net>
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
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 AT atlantic DOT 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/

- Raw text -


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