i have a problem.
i want to use string in masm32,but i dont know what do i do.
can you help me? or give me an example?
tank you
invoke MultiByteToWideChar,CP_Windows936_Chinese(RPC),0,_lpszFile,eax,addr buffer,sizeof buffer,NULL,NULL
;read simplified chinese ansi characters as widechar
invoke WideCharToMultiByte,CP_UTF8,0,_lpszFile,eax,addr buffer,sizeof buffer,NULL,NULL
;store any ansi characters as utf8
hamidamel,
W3lcome on board. Just tell us a bit about what you want to do with strings and if they are simple ANSI strings or more complex character sets like Chinese, Japanese or similar.