From: Robert Hoehne Newsgroups: comp.os.msdos.djgpp Subject: Re: Program compilies but wont run Date: Fri, 12 Sep 1997 10:42:36 +0200 Organization: TU Chemnitz-Zwickau Lines: 45 Message-ID: <3419007C.4C5509@Mathematik.TU-Chemnitz.DE> References: <341825a7 DOT 3034753 AT news DOT autobahn DOT mb DOT ca> NNTP-Posting-Host: pandora.hrz.tu-chemnitz.de Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Perry Kratz wrote: > > Well, I compile my C++ program and it says there are no errors. > I am using RHide. The run command under the run menu is always shaded > out. I don't have any other windows open. If I select run before > compiling, this used to compile the program, then run it, now I get > nothing. Any ideas as to what I screwed up? Simply reopen the window with your source file and "run" will be enabled. Here now a wish from me to all of the users who uses RHIDE _WITHOUT_ a project file. Please remember the following: RHIDE was originally designed to use project _ONLY_. Then (after meny requests) I enabled the feature to use RHIDE also without an project to create on th fly small programs. But for this you should think a little bit about this. From where should RHIDE know what an program it should run when you have an empty desktop? The idea behind the feature of not using a project is the following: - If there is only one source file opened on the desktop, then this file is taken as you only source file for the program and RHIDE creates (and runs) the executable by evaluating the execautable name from the basename of your source file. - If you have opened more than one source file, then RHIDE takes all that source file, compile them and link them together to the executable a.exe. BTW: Starting RHIDE without an project, then having an empty desktop and trying to run your program is similar to rebooting your system, being at the DOS-prompt and typing there Please try to run my program Robert -- ***************************************************************** * Robert Hoehne, Fakultaet fuer Mathematik, TU-Chemnitz-Zwickau * * Post: Am Berg 3, D-09573 Dittmannsdorf * * e-Mail: Robert DOT Hoehne AT Mathematik DOT TU-Chemnitz DOT DE * * WWW: http://www.tu-chemnitz.de/~rho * *****************************************************************