Xref: news2.mv.net comp.os.msdos.djgpp:5253 From: Ben Ashley Newsgroups: comp.os.msdos.djgpp Subject: Re: MikAlleg Date: Fri, 21 Jun 96 21:19:15 GMT Organization: Flag Bearers Lines: 92 Message-ID: <835391955snz@flag.demon.co.uk> References: <835267578snz AT flag DOT demon DOT co DOT uk> <31c9bc69 DOT 9956495 AT news1 DOT radix DOT net> <835348240snz AT flag DOT demon DOT co DOT uk> <31CAAD0F DOT 407E AT Mathematik DOT tu-chemnitz DOT de> Reply-To: Ben AT flag DOT demon DOT co DOT uk To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp In article <31CAAD0F DOT 407E AT Mathematik DOT tu-chemnitz DOT de> Robert DOT Hoehne AT Mathematik DOT tu-chemnitz DOT de "Robert Hoehne" writes: > Ben Ashley wrote: > > Well, I never had the original one in the first place!!! Now, I have got it > to > > work, by placing extern "C" in front of *ALL* function prototypes in the > header > > There is an other way to do this. Surround the function prototypes with > > #ifdef __cplusplus > extern "C" { > #endif > > /* here all the prototypes */ > > #ifdef __cplusplus > } > #endif > > > With this the header file can be used in C and C++ and you don't need to put > it before each function. Thanks for the information Robert. Also, as I seem to be writing a follow up to your message, I hope you don't mind me making a few notes about RHIDE. It is one of the best DOS editors I have used, it just has a few problems with a 'few' things, which I thought you might want to know about :))) 1. On alot of editors, if I highlight a large block of text, and then press TAB, it will Indent those lines accordingly. I was rather shocked to see RHIDE delete the selected block?! Maybe it would be nice, in the future to add this functionality to the IDE. 2. The MAKE option is great, with my large project. It does indeed, only compile those files which I have changed. But if you have a single file, in a project, RHIDE says that the file is up to date. I know that, with only one file in the project, MAKE will do the same as BUILD ALL, but maybe it should compile as normal with just one file? Is this a bug, or just me?? :) 3. When in the help, you can only move the titlebar around by the lines, but it won't move if you click on the caption of the window, unlike the code windows, which will move if you click anywhere on the titlebar. 4. Is there any chance you could add a minimize gadget to the windows? My project is obscenely large, and with all these windows open at a time, it would be nice to minimize some windows. 5. Is there anyway you could let the user change the SHELL command which is executed when the DOS SHELL option is selected from the FILE menu? I am running under 4DOS, and it would be nice if RHIDE launched a 4DOS shell aswell. 6. I know this is really pedantic. When I first used RHIDE, I changed the system colours, etc, to suit my own weird, archaic tastes and all was well. I also changed the TAB setting to '3', I mean, who uses '8'?? :). On starting another project, the colours were the same, but the TAB size had returned to '8'. Is this me, or RHIDE? Is it possible to change this tab size globally? On top of all this, RHIDE is an excellent product. It has almost been like a lifesaver to me, with the aid of DJGPP. Being a young programmer, I was like many people, brainwashed my Microsoft, and I bought the Visual C++ package. But I found that I liked writing games, and DOS applications, and so I used VC++ 1.0 to compile DOS apps. It was not fun. And then I discovered DJGPP, a nice protected mode compiler, and then RHIDE... a brilliant editor. I have since deleted VC++ 1.0 from my hard disk, and am looking to sell the 200+quid package to anyone with the highest bid, thanks to DJGPP, Allegro & RHIDE. :) -- Cheers, Ben -=Look for "Moo-Juice" on the IRC=- ---------------------====### legal notice ###====-------------------------- Microsoft Network is prohibited from redistributing this work in any form,in whole or in part. License to distribute this post is available to Microsoft for $499. Posting without permission constitutes an agreement to these terms.