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
 Feature Requests
 Unicode Refactory features (strlen > _tcsclen)
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

dake
New Member

3 Posts

Posted - Mar 19 2008 :  10:27:34 AM  Show Profile  Reply with Quote

Refactory or auto-completion feature to change strlen to _tcsclen. Same for strcat, strcpy, isdigit etc.

Thank you for the consideration.

feline
Whole Tomato Software

United Kingdom
19014 Posts

Posted - Mar 19 2008 :  12:01:18 PM  Show Profile  Reply with Quote
I do not recognise _tcsclen off hand. Is this a UNICODE form of the function strlen?

If you just want to replace all calls to one function with another function then what about the IDE's find and replace feature? If the functions are fundamentally different, or require different numbers of parameters, then I am not sure how VA could reliably replace one with another.

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

mwb1100
Ketchup Master

82 Posts

Posted - Mar 19 2008 :  9:04:11 PM  Show Profile  Reply with Quote
The Tchar macros are used to make code easily able to be targeted at compile time to either MBCS, Unicode, or single-byte (ASCII/ANSI) functions.

See http://msdn2.microsoft.com/en-us/library/c426s321(VS.80).aspx for details.

Edited by - mwb1100 on Mar 19 2008 9:04:56 PM
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19014 Posts

Posted - Mar 20 2008 :  1:22:30 PM  Show Profile  Reply with Quote
*ah* interesting, thank you for that. I did do a quick web search, but did not find that page.

zen is the art of being at one with the two'ness
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000