Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <3EA060D7.2070903@nordrhein.de> Date: Fri, 18 Apr 2003 22:32:23 +0200 From: Armin Diehl User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4a) Gecko/20030401 X-Accept-Language: en-us, en MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: dll creation References: <3EA02548 DOT 8040308 AT nordrhein DOT de> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Christopher, thanks for your answer! >If you're calling a cygwin DLL from a non-cygwin app, that just won't >work. Does that mean it will work if the main application is a cygwin linked app ? (and what about dynamicly loading the dll via loadLibrary) >If your application is really just as simple as the above, you might >want to investigate either using MinGW (www.mingw.org) or using the >-mno-cygwin option to gcc. no it is not ;-) I'm trying to use gcc in a dll. I think gcc will not work with mingw. I have to use a dll because the borland compiler i'm using uses a different format for objects and can not link the objects generated by gcc. I will try if it works if the main program is a cygwin one, than my application could be in a dll. (Or the main program could be gcc and my application is in a dll) -- 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/