Sunday, February 27, 2011

Error : cannot convert parameter 1 from WCHAR[20] to const char*

Solution:
this error comes when we use strlen so istead of uisng strlen we shoulc use wcslen which suitable for wide character operations.

No comments:

Post a Comment

Thank you for Commenting Will reply soon ......

Featured Posts

How to add "Copy to" and "Move to" options to the right-click context menu in Windows:

Method 1: Registry Editor (Manual) Note: Back up your registry first or create a system restore point. Add "Copy to" Option:...