Mailing-List: contact cygwin-apps-help AT sourceware DOT cygnus DOT com; run by ezmlm Sender: cygwin-apps-owner AT sourceware DOT cygnus DOT com List-Subscribe: <mailto:cygwin-apps-subscribe AT sources DOT redhat DOT com> List-Archive: <http://sources.redhat.com/ml/cygwin-apps/> List-Post: <mailto:cygwin-apps AT sources DOT redhat DOT com> List-Help: <mailto:cygwin-apps-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/lists.html#faqs> Delivered-To: mailing list cygwin-apps AT sources DOT redhat DOT com Date: Wed, 1 Nov 2000 10:17:30 +0530 (IST) From: Naveen Balam <nav AT sasi DOT com> To: cygwin-apps AT sourceware DOT cygnus DOT com Subject: newbie question (fwd) Message-ID: <Pine.GSO.4.10.10011011014130.1300-100000@sunc5.sasi.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Hi, I am new to cygwin tools. I have written a shell sort of interface using tcl/tk and extending it through the tcl/tk libraries in "c" language. This app has a text widget and some menus. On linux machine the code compiles and works fine. On windows 98 using the following tools i get the below problem. cygwin tools used: 1. gcc 2. libtcl80.a 3. libtk80.a 4. libm.a If i compile with the -mwindows option i get a warning message "Cannot find entry symbol _winMainCRTStartup" and no GUI appears. I have to use task manager to kill the application. If i compile without the -mwindows option i get a executable. If i run the executable the shell appears. But i am not able to type in anything in the text widget of the shell nor am i able to select the menu items. I have placed cygtcl80.dll , cygtk80.dll and cygwin1.dll in the place where the executable is created. I would be very thankful if any of you tell me the reason and possible solution. Thanks B.Naveen