T O P I C R E V I E W |
dake |
Posted - Mar 19 2008 : 10:27:34 AM Refactory or auto-completion feature to change strlen to _tcsclen. Same for strcat, strcpy, isdigit etc.
Thank you for the consideration. |
3 L A T E S T R E P L I E S (Newest First) |
feline |
Posted - Mar 20 2008 : 1:22:30 PM *ah* interesting, thank you for that. I did do a quick web search, but did not find that page. |
mwb1100 |
Posted - Mar 19 2008 : 9:04:11 PM 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. |
feline |
Posted - Mar 19 2008 : 12:01:18 PM 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. |