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 X-Originating-IP: [194.224.58.37] From: "Miguelanxo Otero" To: cygwin AT cygwin DOT com Subject: how can i create a console-less gui-less app? Date: Wed, 13 Jun 2001 01:48:03 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 13 Jun 2001 01:48:03.0281 (UTC) FILETIME=[E2492C10:01C0F3AA] Im trying to port a self-made ftp server from linux to win... and everything was straightforward, execept one thing: I dont want to see the console (even if the program doesnt output anything, its still there!). So I tried to compile with -mwindows but gcc cried "no reference for WinMainCRTStartup default to 00400100 ..or something like" so I added the following line WinMainCRTStartup(); { MainCRTStartup(); } (seen in documentation). and recompile. Ok, if i launch the thing in a console, it runs well. But if launched not in console (maybe explorer...) the program dies... What can I do? Tnx. _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple