When I call function CScriptArray* VectorToArray(const Vector& vector, const char* arrayName) (
VectorToArray <String> (GetArguments(), "Array<String>");),
linker write error "can not find funciton asGetActiveContext();" (Urho3D compiled with option -DURHO3D_LIB_TYPE=SHARED)
If link library ActionScript.lib manually, game compiles, but function asGetActiveContext() return 0. In comments function write:
// tld can be 0 if asGetActiveContext is called before any engine has been created.
// Observe! I've seen a case where an application linked with the library twice
// and thus ended up with two separate instances of the code and global variables.
// The application somehow mixed the two instances so that a function called from
// a script ended up calling asGetActiveContext from the other instance that had
// never been initialized.
When engine compiled with option DURHO3D_LIB_TYPE=STATIC , everything is fine.
Sorry for bad english