Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 1722: Intellisence problem

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
xxluda Posted - Apr 17 2009 : 11:33:30 AM
Hi,
after updating to version 1722, VA's intellisence didn't work correctly.

I have template for SmartPtr object. I have this definition in my VA's stdafx.h :


namespace SmartObject
{
template<class T, bool bIsPolymorf = true>
class CSmartObjPtr{
T * operator->();
};

template<class T>
class CSmartObjPtrEx : public CSmartObjPtr<T,true>
{
T * operator->();
};

}


Then, in my code i have typedefs like this :

typedef SmartObject::CSmartObjPtrEx<CDbModule, Atomix::ORM::CBaseOrmObject>	XDbModule;


In previous versions of VA, when i have code

XDbModule objMod;
objMod->

intellisence correctly show methods from object CDbModule. In version 1722 VA doesn't show anything.

But, when I try definition without typedef

SmartObject::CSmartObjPtrEx<CDbModule, Atomix::ORM::CBaseOrmObject> objMod;
objMod->

everything look ok.

Is there any changes in VA's stdafx.h format ?

Thanks and best regards
Ludek Vodicka

3   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Apr 20 2009 : 10:08:43 AM
Very strange. I am glad you have managed to fix the problem.
xxluda Posted - Apr 19 2009 : 11:13:48 AM
After complete VA uninstalation, manualy clear registry from any VA entry and reinstalation version 1722, look intellisence works correctly now.
xxluda Posted - Apr 17 2009 : 11:50:22 AM
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->


© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000