From: "Martin Hurst" Newsgroups: comp.os.msdos.djgpp Subject: Re: rsxntdj Date: 8 Jan 1998 03:00:09 GMT Organization: Netcom Lines: 88 Message-ID: <01bd1be1$92631340$13addccf@martinh.ix.netcom.com> References: <34B42E3F DOT 8EE5F94C AT www DOT the-link DOT net> NNTP-Posting-Host: clv-oh40-19.ix.netcom.com To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Hi Robert, I just recently downloaded rsxntdj and was not able to get it running "Hello world" either ... until ... I dove into the documentation that came with it and was finally able to piece together all the information I needed to finally make it work. I too recently bought a book titled "Teacher Yourself Windows 95 Programming in 21 days", author Charles Calvert, Sams publishing. So I was pretty keen on jumping right into it. Basically I had to download the set of PLATFORMSDK set of zip files, which I found doing a web search leading me to the ftp site, http://193.136.16.232/msdownload/PLATFORMSDK There I downloaded the following files: /msdownload/PLATFORMSDK/ - 12/6/96 10:05 AM 977736 PLATFORMBIN.EXE 12/6/96 10:05 AM 1526592 PLATFORMINC.EXE 11/27/96 4:22 PM 1229128 PLATFORMSDK.EXE 6/4/97 1:39 PM SAMPLES Then I ran these download files and installed them onto my computer. Next I followed the steps that the rsxntdj doc's outlined to copy and move the Include files into the proper directories so that rsxntdj could see them and use them. I also set up the path's and Set Eniroment's as outline in the doc's. I then was able to write the following sample "my first window C program' ..." -------------------------- // Program LaoTzu.cpp #include // Some pragmas to surpress unneeded warnings #pragmas warning (disable: 4068) #pragmas argused int WINAPI WinMain(HINSTANCE hInst, HINSTANCE hPrevInstance, LPSTR lpszCmdParm, int nCmdShow) { MessageBox(0, "He who is rules by men lives in sorrow.", "He who rules men lives in confusion.", MB_OK|MB_ICONINFORMATION); return 0; } -------------------------- To compile it I used the following command line in the DOS Prompt window, gcc -Zwin32 LaoTzu.cpp -o LaoTzu.exe .... And, SURPRISE !!! it worked. As you can see, I too had to do some fiddling around to finally to get it to work. Hopefully this will get you pointed in the right direction and get it working. regards, Martin ------------------------------------------ Robert McNulty wrote in article <34B42E3F DOT 8EE5F94C AT www DOT the-link DOT net>... > You heard the subject. I can't get the "Hello World" program from > working. All I am getting is a "missing seperator" error. The code has > not been touched by me or any one else since downloading this program. > Tried: > make > make rsx=1 > > neither works. Any suggestions or further bug reports? I really want to > program in C for Windows 95. > Robert > bobbymcn AT the-link DOT net > >