Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

VS2010 autoexp.dat ADDIN dll questions

21 views
Skip to first unread message

Phil M

unread,
Sep 19, 2012, 5:01:39 PM9/19/12
to
Hi, all.

I'm looking to see a) if what I want to do is feasible, and b)
general pointers on how.

To start, I have a class like so:

class Foo
{
DWORD dwIndex;
VARIANT var;
};

dwIndex is, as the name may suggest, an index into an array of
strings.

What I want to do is set things up so it displays in the Locals/etc
the string indexed by dwIndex, and the value of var as it is handled
by the $BUILTIN stuff.

Ideally, this would be in a single line, such as "{ "indexed
string", BSTR = 0xcccccccc "value" }. Adding a ", Value=<var>" after
the $ADDIN(...) in [AutoExpand] didn't work; it still displayed just
the string from the addin.

Which leads to the first question: Is it possible, from within the
addin dll, to get the result string from the builtin? I'd rather not
try to duplicate the functionality if possible. This way, my addin
could just return the full string.

If the ideal case isn't possible, then the second question: is it
possible to call the addin from within the children node of a
Visualizer? In this case, I could just set it up to output the result
string and the VARIANT as children.

Thanks,
-Phil
0 new messages