swarm-support
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: porting problem


From: Marshall James
Subject: Re: porting problem
Date: Thu, 14 Jan 1999 14:48:09 +0100

Actually, I am now increasingly inclined to think that this is a memory problem. I will find out for sure when tech support finally comes to increase my virtual memory quota,
James

A 12:10 14/01/99 +0100, vous avez écrit :
>>>>
Hi,
I hope someone can help me out here because I'm almost at my wits end! I'm trying to port a Swarm app from 1.2 to 1.3.1 under Windows NT. I've followed the porting guidelines, and the app compiles perfectly without any warnings. However, at run time I get a status access violation message, caused by the line indicated below with a *

id <ZoomRaster> worldRaster, populationRaster;

populationRaster=[ZoomRaster create: modelZone];
[populationRaster setColormap: populationColourMap];
[populationRaster setZoomFactor: zf];
[populationRaster setWidth: [epdSwarm getWorldXSize] Height: [epdSwarm getWorldYSize]];
[populationRaster setWindowTitle: "EPD Population"];
[populationRaster drawSelf];
[populationRaster pack];

//create a raster object for displaying cell cooperation and relatedness levels
worldRaster=[ZoomRaster create: modelZone];
[worldRaster setColormap: worldColourMap];
[worldRaster setZoomFactor: zf];
* [worldRaster setWidth: [epdSwarm getWorldXSize] Height: [epdSwarm getWorldYSize]];
[worldRaster setWindowTitle: "EPD World"];
[worldRaster drawSelf];
[worldRaster pack];

This seems strange to me as the same method works before on populationRaster, but not on worldRaster! I'm wondering if it's a memory problem... as I've been having problems with virtual memory shortages. This used to work before, so any advice would be appreciated. Thanks,
James
--

James Marshall - Research Assistant - COTCOS Project
Institut de Recherche en Informatique de Toulouse
WWW: http://www.mk.dmu.ac.uk/~jmarshall
================================== Swarm-Support is for discussion of the technical details of the day to day usage of Swarm. For list administration needs (esp. [un]subscribing), please send a message to with "help" in the body of the message.



<<<<


--

James Marshall - Research Assistant - COTCOS Project
Institut de Recherche en Informatique de Toulouse
WWW: http://www.mk.dmu.ac.uk/~jmarshall
================================= Swarm-Support is for discussion of the technical details of the day to day usage of Swarm. For list administration needs (esp. [un]subscribing), please send a message to <address@hidden> with "help" in the body of the message.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]