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
 looses arguments
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Michal Puczynski
Ketchup Master

Poland
85 Posts

Posted - Jun 07 2006 :  05:40:15 AM  Show Profile  Reply with Quote
When suggesting set of arguments for method during definition, VA looses arguments that have default values. The problem occurs in the following declaration:

class XXXX
{
...
bool GetGisGfx(UINT nObjectId, CString strUrl, CString &strLocation,
LPCTSTR strUser = _T(""), LPCTSTR strPass = _T(""));
...
};

bool XXXX::GetGisGfx(-> suggestion is:
UINT nObjectId, CString strUrl, CString &strLocation,
LPCTSTR strUser /* = _T */

so both ("") are lost and last argument is lost.

feline
Whole Tomato Software

United Kingdom
17256 Posts

Posted - Jun 07 2006 :  3:48:37 PM  Show Profile  Reply with Quote
i am seeing the same thing here

case=1248

the problem is not as bad in the 15xx version if you use the new refactoring tool Create Implementation, but it is still not perfect.

this version should be available on public beta in the next few days.

zen is the art of being at one with the two'ness

Edited by - feline on Jun 07 2006 3:49:43 PM
Go to Top of Page

support
Whole Tomato Software

5566 Posts

Posted - Sep 25 2013 :  4:36:24 PM  Show Profile  Reply with Quote
case=1248 is fixed in build 2001.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2019 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000