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

c# - sqlDecimal to decimal clr stored procedure Unable to cast object of type 'System.Data.SqlTypes.SqlDecimal' to type 'System.IConvertible' -

Calling GetGUIThreadInfo from Outlook VBA -

Obfuscating Python code? -