From: G DOT DegliEsposti AT ads DOT it To: "aalfonso" cc: djgpp AT delorie DOT com Message-ID: Date: Fri, 3 Apr 1998 10:36:45 +0200 Subject: Re: Permission denied (EACCES) Mime-Version: 1.0 Content-type: text/plain; charset=us-ascii Precedence: bulk >I tried to write and compile my first C++ program. The usual "Hello World" >exe. The only difference between the C++ version and the C version I >successfully compiled that I can see is the #include and cout. >The compiler says >The error was: Permission denied (EACCES) >Djgpp seems to create an exe but when I try to run it Windows tells me that >it is not a valid Win32 application. I tried to run it in DOS and received >"There is not enough memory to run the program" . Though my C programs run >just fine both out of Windows and Dos. Could anyone tell me how to correct >this? These are symptoms that your program was not compiled correctly. Do not trust the .exe you have: when there are compiling errors gcc doesn't always remove the corrupted .exe it started building. Post the exact commands you execute to compile your program and the exact error messages gcc outputs. ciao Giacomo