X-Spam-Check-By: sourceware.org
Subject: Re: dlopen problems
From: skaller <skaller@users.sourceforge.net>
To: Jacob Kolding <dacobi@gmail.com>
Cc: cygwin@cygwin.com
In-Reply-To:  <loom.20060329T105508-611@post.gmane.org>
References:  <loom.20060329T105508-611@post.gmane.org>
Content-Type: text/plain
Date: Wed, 29 Mar 2006 23:40:47 +1100
Message-Id: <1143636047.15433.7.camel@rosella.wigram>
Mime-Version: 1.0
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On Wed, 2006-03-29 at 08:55 +0000, Jacob Kolding wrote:
> Hello
> 
> I'm currently trying to port a 3d engine from linux to cygwin and I have some
> trouble with the dlfcn.h functions.
> 
> My main program loads a module via dlopen which works fine in linux, but under
> cygwin I get an error "No such file or directory" when I try to load a module.dll


Try 

	dlopen("./module.dll",flags)


-- 
John Skaller <skaller at users dot sf dot net>
Felix, successor to C++: http://felix.sf.net


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

