Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com From: "Frans Rossouw" To: "Cygwin" Subject: dlopen returning crap Date: Mon, 19 Mar 2001 14:24:15 +0200 Message-ID: <000501c0b06f$82f7a4e0$db011fac@fer.ucs.co.za> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Importance: Normal Hey all Another question on dlopen When I use any of these handle = dlopen (NULL, RTLD_LAZY); handle = dlopen ("absolute path", RTLD_LAZY); handle = (void *) GetModuleHandle (NULL); handle = (void *) GetModuleHandle (0); handle = (void *) LoadLibrary ("absolute path"); and I do a printf("handle = %x",handle); directly after that I ALWAYS get handle = 400000 can anyone tell me why? Thanx Frans Rossouw (+2711) 712-1404 Icq# 103978846 -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple