From: edwards AT cisunix DOT unh DOT edu Newsgroups: comp.os.msdos.djgpp Subject: Re: DJGPP and windows? Date: Thu, 17 Sep 1998 14:13:19 GMT Organization: Deja News - The Leader in Internet Discussion Lines: 61 Message-ID: <6tr5dv$vmb$1@nnrp1.dejanews.com> References: <6shli3$ke4$1 AT news DOT cin DOT net> <35F6C16C DOT 1AF8 AT cableol DOT co DOT uk> <3600A9DB DOT EAA61280 AT mailexcite DOT com> NNTP-Posting-Host: 132.177.138.160 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk I recently attempted to try out RSXNTDJ, but it kept claiming that I didn't have windows.h or something, and all of the directories were set incorrectly, etc. So I just quit trying and deleted the thing from my system, in my typical no-patience-for-anything manner. I think I'm ready to retry RSXNTDJ now, though. Is there anything I need to download other than the RSXNTDJ zip file to make a functioning 32-bit program? Also, why is "NT" in the name of the file? Don't tell me it's only for Windows NT. In article <3600A9DB DOT EAA61280 AT mailexcite DOT com>, Doug Gale wrote: > > > Allens wrote: > > > GaurdianRox wrote: > > > > > > Is it possible to program windows in djgpp? If so, where can I get a good > > > FAQ or tutorial on moving from DOS programming to windows? > > > > Easy and highly recomended answer, no, get lcc-win32 for c only windows > > programming. Proper answer, you could get RSXNTDJ from the place you > > got djgpp, but it is incompatible with gcc 2.8.1, without some really > > complicated instructions which don't work for me and a lot of others. > > Also, get a book for learning windows, as it is a big move. > > > > Recomended: > > Windows 95 programming in c and c++ by Herbert Schildt > > > > Peter Allen > > Hmmm. Bashing RSXNTDJ a teensy weensy bit? I got it, and so far have built > Winsock apps (FTP download, SMTP mail send, POP3 mail receive), OpenGL program > (I've learned enough to load models, control rendering detail, and fly around > the scene, and with 3dfx OpenGL drivers, it would scream out polygons!), a > couple of half-done tray utilities... There were two parts that weren't easy > though, I will admit. Getting the tools and build environment from microsoft, > 12MB + 5MB of downloading I think, but allowed me to use the real headers (a > patch is included that patches the headers because of a few declaration styles > differ between MS C and GNU C). Since I have installed it, I can switch back > and forth between DOS code and Win32 code by swapping ld.exe and djgpp.env (I > do it with a batch file). > > Also, you don't HAVE to make true "windows" programs, you can call winsock, or > opengl, or almost any API from what they call "console" win32 apps. It looks > like a DOS window, but it is true Win32 code. You can still use printf(), > scanf(), and all that fun standard C stuff without going nuts learning about > messages, window handles, DC contexts, RegisterClass(), BeginPaint(), BitBlts, > and all that other fun GDI and window class stuff. I'm pretty sure you can call > DirectDraw (Direct3D, DirectEverythingElse) from a console app too. (Accessing > COM objects (like DirectX) does require some singing and dancing in your > program to initialize everything, so, be warned) > > Oh yeah...I use rsxntdj with gcc 2.8.1 and haven't noticed the > 'incompatibility' you are talking about. > > Doug Gale > > -----== Posted via Deja News, The Leader in Internet Discussion ==----- http://www.dejanews.com/rg_mkgrp.xp Create Your Own Free Member Forum