Simple scenario - a class with an embedded class (dialog with a data wrapper) - with a std::vector of such wrappers:
// Scratch area for working with sections
struct VirtualSection
{
VirtualSection(const CString & name);
VirtualSection(CMacroInterpreter * pInterpreter, SECTION * sec);
SECTION * sec; // pointer to real section (if exists: added sections = null)
CString name; // section name
bool current; // current (only one)
bool hidden; // hidden
bool locked; // locked
int straight; // straight lines in real section (not edited)
int arc; // arcs in real section (not edited)
int circle; // circles in real section (not edited)
int subroutine; // subroutines in real section (not edited)
int text; // annotations in real section (not edited)
int dimension; // dimensions in real section (not edited)
int construction; // construction lines in real section (not edited)
int group; // groups in real section (not edited)
int other; // all other types in real section (not edited)
int total; // total number of items in real section (not edited)
};
typedef std::vector<VirtualSection> SectionsVector;
SectionsVector m_sections; // virtual state of the macro engine (indexes match what the engine will see at any given point in time)
When I'm trying to fill in an access to m_sections[index] - and then dot + ctrl+space to get a list of possibilities.
NOTHING.
Stupid stuff about Pos - what the hell is a Pos symbol doing there - and a total blank on how to expand into an element in m_sections?!!!!
This is bread & butter of VA - and It's totally failing on me, forcing me to waste time looking up this crap by hand.
Wicked Frustrating!!!
VA_X.dll file version 10.9.2248.0 built 2017.12.16
DevEnv.exe version 15.0.27130.2010 Professional
msenv.dll version 15.0.27130.2010
Comctl32.dll version 6.10.16299.192
Windows 10 10.0 Build 16299
4 processors (x86-64, WOW64)
Language info: 1252, 0x409
Platform: Project defined
Stable Includes:
C:\Program Files (x86)\Windows Kits\10\Include\10.0.16299.0\winrt;
C:\Program Files (x86)\Windows Kits\10\Include\10.0.16299.0\shared;
C:\Program Files (x86)\Windows Kits\10\Include\10.0.16299.0\um;
C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Auxiliary\VS\UnitTest\include;
C:\Program Files (x86)\Windows Kits\10\Include\10.0.16299.0\ucrt;
C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Auxiliary\VS\include;
C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.12.25827\atlmfc\include;
C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.12.25827\include;
Other Includes:
Stable Source Directories:
C:\Program Files (x86)\Windows Kits\10\Source\10.0.16299.0\ucrt;
C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Auxiliary\VS\src;
C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.12.25827\crt\src;
C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.12.25827\atlmfc\src\atl;
C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.12.25827\atlmfc\src\mfcm;
C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.12.25827\atlmfc\src\mfc;