Skip to main content
gamedev.net
🔒 Locked

assert in as_arrayobject

Started by Shurwint 4 replies 1k views
Original Post
Shurwint
Shurwint
MSVC 6.0 SP6 call at asCreateScriptEngine( ANGELSCRIPT_VERSION ); asserts at line 195 as_arrayobject.cpp : r = engine->RegisterSpecialObjectBehaviour(engine->defaultArrayObjectType, asBEHAVE_ADDREF, "void f()", asMETHOD(asCArrayObject,AddRef), asCALL_THISCALL); asASSERT( r >= 0 ); ... line 1244 as_scriptengine.cpp returns with error: if( beh->addref ) return ConfigError(asALREADY_REGISTERED); beh members before return error: beh->...=0x00000000 beh->copy=0xcdcdcdcd beh->addref=0xcdcdcdcd beh->release=0x00020001 beh->...=0x00000000
WitchLord
WitchLord
Which version of AngelScript is this?
AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - <a href="http://www.angelcode.com/tower" rel
Shurwint
Shurwint
~2 hours ago, from svn.
WitchLord
WitchLord
That's strange, I just tested that version with MSVC6 SP6, and it is working fine.

Have you tried recompiling the entire project? MSVC6 is known to sometimes miss changes made in files and thus link corrupt binaries.
AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - <a href="http://www.angelcode.com/tower" rel
Shurwint
Shurwint
You are right. This is my fault, sorry.
WitchLord
WitchLord
No problem, I'm just relieved it was a false alarm.
AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - <a href="http://www.angelcode.com/tower" rel

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.