I'm trying to run a very simple program under wineconsole, but can't get it to work. The file is: #include <stdio.h> int main (int argc, char * argv[]) { int a; printf("Enter a char:"); a = getchar(); } It compiles and runs fine under Linux (prints the message and waits for characters to be typed, ends when Return is pressed). It also compiles using mingw32 cross-compiler and runs fine if put on a Windows box, but won't run under Wine. Specifically, the behaviour I observe is: 1) Console window opens 2) Console window closes before I can see any text printed (i.e. very fast) 3) Wine exits with successful completion indicator. I have had no luck getting winedbg to work at all. I'm using version 0.0.20020411-1 on Debian. Any help appreciated. Incidentally, the background to this is that I'm trying to get a slightly more complicated program working, also a console app, and not having any joy. Thanks. Yahoo! India Matrimony: Find your partner online.Post your profile. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.winehq.org/pipermail/wine-users/attachments/20030922/2ffac923/attachment.htm