www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/01/21/04:15:24

From: heath AT v-wave DOT com (Heath Shoup)
Newsgroups: comp.os.msdos.djgpp
Subject: RSXNT kit
Date: 21 Jan 1998 08:56:14 GMT
Organization: none
Lines: 35
Message-ID: <6a4d7e$mn21@crash.videotron.ab.ca>
NNTP-Posting-Host: the-brig.v-wave.com
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Does anyone have this thing working?  I followed the installation instructions 
to a tee ( I think :-) ) and when I try the test code it belches this at me.

C:\winstuff>gcc -Zwin32 test.c -o test.exe
gcc.exe: unrecognized option `-Zwin32'
test.c:1: parse error before `WinMain'
test.c:1: parse error before `hInstance'
test.c: In function `WinMain':
test.c:6: `NULL' undeclared (first use this function)
test.c:6: (Each undeclared identifier is reported only once
test.c:6: for each function it appears in.)
test.c:6: `MB_OK' undeclared (first use this function)
test.c: At top level:
test.c:14: parse error before `1995'

and this is the code..
int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance,

LPSTR lpCmdLine, int nCmdShow)

{
	MessageBox (NULL, "Hello Win32", "First App", MB_OK);

return 0;

}



Copyright 1995-1996 Rainer Schnitker


So if anyone knows where I can get help or better yet.. if you can help please 
point me in the right direction.. 

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019