Gamestudio Links
Zorro Links
Newest Posts
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/20/24 01:28
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (AndrewAMD, Ayumi), 838 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Access Violation when call "level_load" #280300
07/22/09 06:55
07/22/09 06:55
Joined: May 2006
Posts: 133
ME
Mysterious Offline OP
Member
Mysterious  Offline OP
Member

Joined: May 2006
Posts: 133
ME
Hello
I am working on project that contains several levels,
I am using CodeGear2007 with latest version of A7 7.7.7.4

when I run the exe file from the IDE every thing is fine
but when I run the exe file immediately (with out IDE) there are some levels that shows "Access Violation" when the function "level_load" is called, how can I know what is the problem ?

Re: Access Violation when call "level_load" [Re: Mysterious] #280308
07/22/09 07:49
07/22/09 07:49
Joined: Nov 2007
Posts: 1,143
United Kingdom
DJBMASTER Offline
Serious User
DJBMASTER  Offline
Serious User

Joined: Nov 2007
Posts: 1,143
United Kingdom
can you post some of your code. Did you initialize the engine first?

Re: Access Violation when call "level_load" [Re: DJBMASTER] #280311
07/22/09 07:54
07/22/09 07:54
Joined: May 2006
Posts: 133
ME
Mysterious Offline OP
Member
Mysterious  Offline OP
Member

Joined: May 2006
Posts: 133
ME
Yes I did,

as I mention before All levels working from within the IDE, but three of them make an "Access Violation" error when I run the exe directly without CodeGear

Re: Access Violation when call "level_load" [Re: Mysterious] #280314
07/22/09 08:00
07/22/09 08:00
Joined: Nov 2007
Posts: 1,143
United Kingdom
DJBMASTER Offline
Serious User
DJBMASTER  Offline
Serious User

Joined: Nov 2007
Posts: 1,143
United Kingdom
oh sorry, i posted before i thought lol.

Well an Access Violation seems to me that you are trying to use resources that can't be found. In this case its trying to find a level and can't.

I'm not familiar with CodeGear, but do you specify any paths to search or extra directories in the IDE?

Re: Access Violation when call "level_load" [Re: DJBMASTER] #280320
07/22/09 08:11
07/22/09 08:11
Joined: May 2006
Posts: 133
ME
Mysterious Offline OP
Member
Mysterious  Offline OP
Member

Joined: May 2006
Posts: 133
ME
I thought of that A7 couldn't find the Level so I try to rename it the error was from A7 with message "Malfunction W1301 Level1.wmb Can't open file"

so I think A7 can find the Level when the problem Access Violation is happened

(thanks for quick reply DJBMASTER smile )

Re: Access Violation when call "level_load" [Re: Mysterious] #282629
08/02/09 17:22
08/02/09 17:22
Joined: May 2009
Posts: 16
J
JDogRES Offline
Newbie
JDogRES  Offline
Newbie
J

Joined: May 2009
Posts: 16
I'm not completely sure on this but are you using the proper version of the acknex.dll? I know with C++ you've got to create a new DLL every time you recompile the program. So when switching between debug and release you've got to create that DLL again for the new version. The DLL that comes with GameStudio is only for debug purposes and will not work with any other version of your code.

Re: Access Violation when call "level_load" [Re: JDogRES] #282948
08/04/09 18:34
08/04/09 18:34
Joined: May 2006
Posts: 133
ME
Mysterious Offline OP
Member
Mysterious  Offline OP
Member

Joined: May 2006
Posts: 133
ME
Sorry I didn't update this post before, the problem solved

http://www.opserver.de/ubb7/ubbthreads.php?ubb=showflat&Number=280560#Post280560

thanks...

Last edited by Mysterious; 08/04/09 18:39.

Moderated by  TWO 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1