Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / Access Error; Project Included

Author
Message
dbcoder2006
20
Years of Service
User Offline
Joined: 14th Nov 2003
Location:
Posted: 15th Jan 2005 11:17
I've tried to access the model once, it works... when I access it again, I get an access error.

Please, could someone that actually knows what they are doing take a look at the code?

http://www.evo-interactive.com/evo/Evolution.zip
OSX Using Happy Dude
20
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 15th Jan 2005 16:49
I'll have a look later on - if no-one else has.

Visit http://homepages.nildram.co.uk/~nickk/
I have no signature.
OSX Using Happy Dude
20
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 15th Jan 2005 18:41
I ran it 3 times - it all ran perfectly.

Visit http://homepages.nildram.co.uk/~nickk/
I have no signature.
dbcoder2006
20
Years of Service
User Offline
Joined: 14th Nov 2003
Location:
Posted: 16th Jan 2005 02:11
Heh. What did you compile it w/? Perhaps it's because I'm using vc6
OSX Using Happy Dude
20
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 16th Jan 2005 02:12
Good point - I'm using VS .Net...

Visit http://homepages.nildram.co.uk/~nickk/
I have no signature.
dbcoder2006
20
Years of Service
User Offline
Joined: 14th Nov 2003
Location:
Posted: 16th Jan 2005 02:56
Meh, I dont' want to spend money on something that may fix the problem
OSX Using Happy Dude
20
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 16th Jan 2005 05:11 Edited at: 16th Jan 2005 05:12
Compile it your end, and then make the executable + media availiable. That way we can determine whether its your computer playing around or your computer is playing around.

Visit http://homepages.nildram.co.uk/~nickk/
I have no signature.
dbcoder2006
20
Years of Service
User Offline
Joined: 14th Nov 2003
Location:
Posted: 16th Jan 2005 11:05
http://www.evo-interactive.com/evo/Evolution.rar
OSX Using Happy Dude
20
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 16th Jan 2005 19:14
zao420
20
Years of Service
User Offline
Joined: 5th Aug 2003
Location: Canada
Posted: 17th Jan 2005 02:53 Edited at: 17th Jan 2005 03:11
OK i compiled it with vs .net 2003, It works fine untill after it does the 3d sound, then it goes reall slow, loads the object then moves it about. (waiting for it.) ok after about 2 min it crashed with one of thos nice access violation, at where >> is.

void testEngine::testWeapon()
{
gameModel testModel2("chaingun\chaingun.3DS",1,"chaingun\GUN.jpg");
weapon testWeapon("Test Weapon", 100,1,1.0,testModel2);
dbPrint("Test Weapon Created");
dbPrint(testWeapon.name);
>> dbPrint((char*)testWeapon.damage);
dbPrint((char*)testWeapon.maxAmmo);
testPause();
}

and this was compiled in debug mode.

[EDIT]
ok i got it not chrash with that access error, i don't see why it doesn't work the other way, semas it should, i am just learning c++ so i may be wrong. anyways if you change



To



besides the amount of memory it use's ( 60mb of ram ) it seams to run fine.

http://cavesoft.no-ip.com
WIP Version of my site. Usally it is offline.
http://dev-cavesoft.no-ip.com
OSX Using Happy Dude
20
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 17th Jan 2005 03:39

Wont work - your trying to point to display text from integer values.

[/quote]besides the amount of memory it use's ( 60mb of ram )[quote]
Thats what Windows thinks it needs - as we all know the memory allocation system is not good.

dbcoder2006
20
Years of Service
User Offline
Joined: 14th Nov 2003
Location:
Posted: 17th Jan 2005 04:25
60 megs? Can anyone explain why it takes 60 megs of memory?
OSX Using Happy Dude
20
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 17th Jan 2005 04:39 Edited at: 17th Jan 2005 04:40
Yes : program + loaded graphics + sounds + Windows wants

The value you see is what Windows has claimed for the program, not what may be needed.

Login to post a reply

Server time is: 2024-04-18 14:46:52
Your offset time is: 2024-04-18 14:46:52