Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: MS-VC++ 6.0 "new" Works Fine

Author: martin fierz

Date: 04:14:04 12/06/03

Go up one level in this thread


On December 05, 2003 at 14:52:29, Dieter Buerssner wrote:

>On December 05, 2003 at 13:38:42, Brian Richardson wrote:
>
>>I have run Tinker with up to 2GB tables using "new" memory
>>allocation, albeit under Enterprise Edition.
>
>Does new work under Win98 for sizes > 256 MB?
>
>BTW. My engine (using malloc) has the same problem, as noted by Franz: Only
>works for sizes > 256 MB under Win NT/XP.
>
>Regards,
>Dieter

hi dieter,

if your engine is for windows only, you should switch to the windows memory
allocation functions, as there you know exactly what the OS is doing. if you use
anything like new or malloc, the compiler will translate that to whatever it
sees fit, and then it will work on some versions of windows, and not on others.
i've had so many problems with different versions of windows doing different
things, that i try not to "let windows decide". of course you can call this
microsoft brain damage :-)

cheers
  martin



This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.