|
|
#1 |
|
Junior Member
Join Date: Jan 2005
Posts: 2
|
System::Call 'user32::OEMToCharA'
Hi all!
I need to show MessageBox with text translated from codepage cp866 into win1251. Im trying to convert text with OEMTToCharA function from user32.dll under Win2kProfSP4Rus. Section ;Call ReadFile StrCpy $2 "OEMòåêñò" MessageBox MB_OK|MB_ICONSTOP "$2" System::Call 'user32::OEMToCharA(t r2, t .r0) i r3' MessageBox MB_OK|MB_ICONSTOP "$0";returns emty messagebox MessageBox MB_OK|MB_ICONSTOP "$2";returns OEMtext MessageBox MB_OK|MB_ICONSTOP "$3";returns emty messagebox SectionEnd Why $0 is empty? What i doing wrong? Alexander Kudrakov. |
|
|
|
|
|
#2 |
|
Major Dude
Join Date: Feb 2004
Location: Moscow, Russia
Posts: 1,222
|
System::Call 'user32::OemToCharA(t r2, t .r0) i r3'
Case sensitive |
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Jan 2005
Posts: 2
|
Thank you Takhir!!!
|
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|