From: ph DOT tan AT bj DOT col DOT co DOT cn Comments: Authenticated sender is To: djgpp AT delorie DOT com Date: Thu, 9 Oct 1997 23:13:45 +0000 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: RSXNTDJ install problems, help? In-reply-to: <343C2C99.4E4D3092@a.crl.com> Message-Id: <343ce8b91eed002@bj.col.com.cn> Precedence: bulk > From: Weiqi Gao > Subject: Re: RSXNTDJ install problems, help? > Date: Wed, 08 Oct 1997 20:00:09 -0500 > Organization: Spectrum Healthcare Services > To: djgpp AT delorie DOT com > 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 > > BTW, where can I get the MS platform SDK header files? I've searched Microsoft's ftp site and couldn't find the PlatformInc.EXE file there.