delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/04/12/13:42:48

From: "Mr. Veli Suorsa" <VJSuorsa AT Surfeu DOT Fi>
Sender: vjsuorsa AT Surfeu DOT Fi
To: djgpp AT delorie DOT com
Cc: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>, "Mr. Veli Suorsa" <VJSuorsa AT Surfeu DOT Fi>
Date: Thu, 12 Apr 2001 20:40:44 +0300
Subject: Re: BOOT JAM AFTER HIMEM
X-Mailer: CWMail Web to Mail Gateway 2.6k, http://netwinsite.com/top_mail.htm
Message-id: <3ad5e89c.82c.0@surfeu.fi>
X-User-Info: 193.167.106.194
MIME-Version: 1.0
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id NAA29241
Reply-To: djgpp AT delorie DOT com

Hi!

Thanks for your reply!

>On Mon, 2 Apr 2001, Mr. Veli Suorsa wrote:
>could look for possible problems.

Problems again!

Some louse hacker send to my Pc virus (or they come with traveller2001AD appendix
files), because Djgpp C / C ++/ F77 compiler don't work correctly anymore.

I can compile this book example, but fstream.h don't write to file anymore:


/* Esimerkki, Kokonaislukujen kirjoittaminen tiedostoon
   (esim4307.cpp), 10.04.2001 */

#include <fstream.h>

int main(void)
{
	int luvut[6] = {1, 2, 3, 4, 5, 6};
	int ind;
	int avausliput = ios::binary | ios::noreplace;
	ofstream tulos("luvut.dat", avausliput);
	if (tulos)
	{
		for (ind = 0; ind < 6; ind++)
			tulos.write((char *)&luvut[ind], sizeof(int));
		tulos.close();
	}
	else
		cout<<"Tiedosto oli jo olemassa, talletusta ei tehdä";
	return 0;
}


It work fine last week!

Can I use Freepascal with Djgpp? I download it last week, too.

>I don't see anything wrong in your configuration files.  I'd advise to
>find out which line in what file gets stuck.  You seem to indicate
>that HIMEM never finishes to scan memory; if that is so, try to change
>the HIMEM installation line to say this:
>
>   DEVICE=C:\DOS\HIMEM.SYS /TESTMEM:OFF

I use now
DEVICE=C:\DOS\HIMEM.SYS /TESTMEM:ON /V

and it shows me on start memory.

Thanks in advance

Veli Suorsa
---
"People must believe to the future to be able to live!"
---------------------------------- J.V.Snellman, 1890.

Oulu, FINLAND
Mailto:VJSuorsa AT Surfeu DOT Fi
http://members.surfeu.fi/veli.suorsa/
http://www.surfeu.fi

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019