From: Weiqi Gao Newsgroups: comp.os.msdos.djgpp Subject: Re: RSXNTDJ install problems, help? Date: Wed, 08 Oct 1997 20:00:09 -0500 Organization: Spectrum Healthcare Services Lines: 27 Message-ID: <343C2C99.4E4D3092@a.crl.com> References: <343bc324 DOT 663711 AT news DOT ovis DOT net> NNTP-Posting-Host: a116014.stl1.as.crl.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Esperandi wrote: > > I created a file called test.c and out in it the following: > > int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, > > LPSTR lpCmdLine, int nCmdShow) > > { > MessageBox (NULL, "Hello Win32", "First App", MB_OK); > > return 0; > > } > > When I go to compile with "gcc -Zwin32 test.c -o test.exe" I get the > following output from gcc: > > test.c:1: parse error before `WinMain' Did you install the MS Platform SDK header files and apply the RSXNTDJ 1.3.1 patch to it? Did you have the "#include " line? -- Weiqi Gao weiqigao AT a DOT crl DOT com