Advertisement

assert in as_arrayobject

Started by February 17, 2009 04:12 PM
4 comments, last by WitchLord 15 years, 9 months ago
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
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 - Tower - free puzzle game

Advertisement
~2 hours ago, from svn.
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 - Tower - free puzzle game

You are right. This is my fault, sorry.
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 - Tower - free puzzle game

This topic is closed to new replies.

Advertisement