c++ - Unicode, char pointers and wcslen -


I am trying to use CPW Library for some graphics things. I got it installed, and I think there is a problem in compiling. That is, in String Header, it provides support for Unicode through Defined (Unicode)

 . There is no such thing as a wstrlen on the Windows epic, so I tried to change it, but now it gives me it. And the error because it tries to convert it to a four * wchar_t * I am afraid that if I use it in any way, then some more punch.  

What do you think of the StackWareflow?

You may wcslen to before inserting the written header Wstrlen can be defined as:

  #define wstrlen wcslen #include "cpw.h"  

you get the error He may call you one of those tasks because of going through char * .


Comments

Popular posts from this blog

paypal - How to know the URL referrer in PHP? -

oauth - Facebook OAuth2 Logout does not remove fb_ cookie -

wpf - Line breaks and indenting for the XAML of a saved FlowDocument? -