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 Date: Wed, 7 Mar 2001 14:58:17 +0300 (MSK) From: Ildar Mulyukov X-Sender: ildar AT natalie DOT faki-campus DOT mipt DOT ru To: cygwin AT cygwin DOT 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 AT 16' Is it non-concurrensy of docs? Any help would be appresiated... -- Ildar Mulyukov, student of DACR, MIPT (Moscow, Russia) e-mail: ildar AT sendmail DOT ru, ICQ# 4334029 -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple