Extremely Active Member
Group: Admins
Posts: 2066
Member No.: 160
Joined: 22-June 04
|
try add this into source or into user32.inc:
CODE | wsprintfW PROTO C :DWORD,:VARARG |
then use this:
CODE | invoke wsprintf,addr format,addr unicodestring |
note: if you will update user32.inc once, you will need to update it again after reinstalling masm32 package. also, it is unfriendly for unicode programming as it contains mostly such prototypes:
CODE | MessageBoxA PROTO :DWORD,:DWORD,:DWORD,:DWORD MessageBox equ <MessageBoxA> MessageBoxW PROTO :DWORD,:DWORD,:DWORD,:DWORD |
so, there is no way to switch easy to unicode with it.
unlike it, fasm package is more friendly as you can switch to unicode including "win32w.inc" instead "win32a.inc" used for ansi.
also, you may use scan.exe by Vortex (look download section->tools), which may prepare to you exact import, scanning your ready source. anyway, you will need structures definitions, which may differ from ansi - so, probably you will need to keep own additional include file for them. if yes - you may share it later here to help other with similar problem.
regards!
|