Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@sources.redhat.com Delivered-To: mailing list cygwin@sources.redhat.com Date: Wed, 7 Mar 2001 14:58:17 +0300 (MSK) From: Ildar Mulyukov X-Sender: ildar@natalie.faki-campus.mipt.ru To: cygwin@cygwin.com Subject: Using DLL problem Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Well, I've done everything as it was written in docs. The result is: I successifully built non-relocatable DLL and a program to use it. BUT as I build dll, demo stackdumps' in the dll in a function that does something useful. (behaving ok in an empty function). But linked statically program runs perfectly! Same code, different behaviours... In fact I failed to build a relocatable DLL as it was described in Users Guide at Cygwin site. It complains: /usr/lib/libcygwin.a(libcmain.o)(.text+0x6a):libcmain.c: undefined reference to `WinMain@16' Is it non-concurrensy of docs? Any help would be appresiated... -- Ildar Mulyukov, student of DACR, MIPT (Moscow, Russia) e-mail: ildar@sendmail.ru, ICQ# 4334029 -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple