From: "=?iso-8859-1?Q?stefan_fr=F6berg?=" Newsgroups: comp.os.msdos.djgpp Subject: NEEDING HELP TO START WINDOWS PROGRAMMING Date: Tue, 7 Dec 1999 21:31:16 +0200 Organization: SAUNALAHDEN SERVERIN asiakas Lines: 44 Message-ID: <82jmt5$15u$1@tron.sci.fi> NNTP-Posting-Host: dlii.tdyn.saunalahti.fi Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Newsreader: Microsoft Outlook Express 4.72.3110.5 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id OAB05100 Reply-To: djgpp AT delorie DOT com Hello to everyone ! Few days back I decided to start learning Windows programming. I found that I needed package called RSXNTDJ (really awfull name... :=)) before I could start to make any code. However, for me the stuff in this package raised more questions than answered. So, if I don't want to use the RSXNTDJ then what are the minimum steps required for writing code that calls the WIN32 API and GUI? Do I have to modify (aarghh!) the GCC source code so that the compiler could understand the DLLs or is there a way to change the GDI32.DLL, KERNEL32.DLL, etc.. to the library format that the GCC understands ? Are these the steps needed for making working program that uses the WIN32 API and GUI ? My code (.c or .cc) + header files(.h) + libraries (.dll or .a ?) + definitions(.def ?)??? + resources(.rc ?)??? = compelete program (.exe) Also what are the .DEF and .RC files ? The libraries that the DJGPP uses are static, right ? Meaning that when you start multiple copies of the same program in windows you also make multiple copies of the same library functions and they stay in memory, right ? If there are plans to make a new version of the DJGPP package then I would suggest that the compiler should be modified so that it can compile code that uses the WIN32 API & GUI and in the FAQ there should be an entry that describes the basic steps needed to make Win programs. "Listening Ameno Remix throught headphones while writing code at 3:00 am really speeds up the things...:=))" Stefan Fröberg traveler AT netti DOT fi