Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Technical Support
 [1724]Intelligence problem in WTL, or template?
 New Topic  Reply to Topic
 Printer Friendly
Previous Page
Author Previous Topic Topic Next Topic
Page: of 2

wondering
Senior Member

China
31 Posts

Posted - Jul 28 2009 :  03:50:48 AM  Show Profile  Reply with Quote
I have sent my va log to you.

--
wondering
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18751 Posts

Posted - Jul 28 2009 :  7:07:49 PM  Show Profile  Reply with Quote
I have the files, many thanks for these. I have asked our developers to see if they have any ideas:

case=30151

zen is the art of being at one with the two'ness
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18751 Posts

Posted - Aug 05 2009 :  2:24:44 PM  Show Profile  Reply with Quote
Using the test solution first, can you try adding:

using ATL::CDialogImpl;

to the cpp file, or adding ATL:: before CDialogImpl to see if this helps?

If this helps in the test solution does this help in your main solution?

zen is the art of being at one with the two'ness
Go to Top of Page

wondering
Senior Member

China
31 Posts

Posted - Aug 13 2009 :  02:37:59 AM  Show Profile  Reply with Quote
quote:
Originally posted by wondering

STL is supported perfectly by VA. I'm sorry for my ambiguous statement.
What I say means some template class I code meets this problem. But I forget where are them just now.

Here are some new finds when I use WTL:
CTabCtrl tabGroup = GetDlgItem(IDC_TAB_GROUP);
tabGroup.AddItem("Group");

If I use alt+g on GetDlgItem, it goes to winuser.h(Windows API), but if I press F12 on GetDlgItem it can go to atlwin.h(correct).
When I type the dot after tabGroup, it can't list AddItem function.

WTL::CTabCtrl tabGroup = CWindow::GetDlgItem(IDC_TAB_GROUP);
tabGroup.AddItem("Group");

If I write code like this, add WTL or CWindow before class and function name, alt+g works well and all member listed.



In fact, I has did this test and posted this reply on Jul 18 2009 : 12:43:18 AM.
Today, I tested again according to your suggestion.
Added using ATL::CDialogImpl or ATL:: it can show the listbox.
It works well in the test project and my project.

--
wondering
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18751 Posts

Posted - Aug 13 2009 :  2:46:17 PM  Show Profile  Reply with Quote
Sorry about that, my mistake. This is quite a long thread, and I sometimes forget what I have already asked

It is good to know this helps, thank you. The problem is happening since there are two different classes called "CDialogImpls" and VA is getting confused:

case=30555

zen is the art of being at one with the two'ness
Go to Top of Page

wondering
Senior Member

China
31 Posts

Posted - Aug 17 2009 :  10:54:16 PM  Show Profile  Reply with Quote
OK, expect to your solution.

--
wondering
Go to Top of Page
Page: of 2 Previous Topic Topic Next Topic  
Previous Page
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000