After sending this post, I found post about new "NoDepthLimit" switch, which solved part of my problem.
HKCU \\ Software \\ Whole Tomato \\ Visual Assist X \\ LimitMacro = "NoDepthLimit"
Looks that old switch "No" currently doesn't work, but with new switch VA doesn't need VA-stdafx.h help templaty anymore and when template definition is in the same file as code which use it, everything works ok.
This works:
typedef SmartObject::CSmartObjPtrEx<CDbModule, Atomix::ORM::CBaseOrmObject> XDbModule;
XDbModule objM;
objM->
but, when i include this definition through several includes, the same code doesn't work ;-(
file ModuleDefs.h :
-------------------
typedef SmartObject::CSmartObjPtrEx<CDbModule, Atomix::ORM::CBaseOrmObject> XDbModule;
file ModelInclude.h :
---------------------
#include ModuleDefs.h
file Test.cpp :
---------------
#include ModelInclude.h
void foo()
{
XDbModule objM;
objM->