From: "jo" Newsgroups: comp.os.msdos.djgpp Subject: help - rsxntdj, win95 programming, general c q's Date: 26 Mar 1998 10:57:05 GMT Organization: DIALix Internet Services Lines: 66 Message-ID: <01bd58ae$8f967d00$239f23cb@default> NNTP-Posting-Host: news AT marconi DOT dialix DOT com DOT au To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Absolute beginner in c here trying to figure a few things out, please help if you can. Writing a little program with djgpp, it executes in the win95 dos box. What I'm trying to do is to modify it so it opens its own window in win95 like most other applications. - Have found rsxntdj, is this a good thing to use to make windows type programs? - In rsxntdj readme(help?) file in rsxntdj\doc\readme.exe, in section first win32 program, says type this and save as test.c, when trying to compile it get the following errors: C:\DJGPP\MySource>gcc -Zwin32 test.c -o test.exe test.c:3: parse error before `WinMain' test.c:3: parse error before `hInstance' test.c: In function `WinMain': test.c:8: `NULL' undeclared (first use this function) test.c:8: (Each undeclared identifier is reported only once test.c:8: for each function it appears in.) test.c:8: `MB_OK' undeclared (first use this function) - Using DFE, to run the makefiles, in dir rsxntdj\sample\gui\cplus\ when the makefile is processing I receive the error makefile: 13: *** missing seperator - Could someone point me to a web page or other online resource for some beginner win95 programming with djgpp. - This one is driving me crazy, #include #include int main() { char bytes[10]; strcpy(bytes, "0"); char date[11]; strcpy(date, "01:01:1980"); return 0; } when trying to compile the above the resulting error messages occur: C:\DJGPP\MySource>gcc test.c -o test.exe -lm test.c: In function `main': test.c:11: parse error before `char' test.c:12: `date' undeclared (first use this function) test.c:12: (Each undeclared identifier is reported only once test.c:12: for each function it appears in.) thats it for now, hope you can help me out. Please remove nospam from my email if you wish to reply that way, better yet to post to the group so everyone benefits.