flat assembler
Message board for the users of flat assembler.
Index
> Windows > is TCHAR a compulsory now? db seems to breaks. |
Author |
|
vid 07 Jan 2009, 13:26
It surely isn't compulsory. I think you should post bigger piece of code that doesn't work.
|
|||
07 Jan 2009, 13:26 |
|
Tomasz Grysztar 07 Jan 2009, 15:02
Pehaps he used the win32w.inc instead of win32a.inc?
|
|||
07 Jan 2009, 15:02 |
|
sleepsleep 08 Jan 2009, 01:48
oops yea. i think you are correct tomasz.
|
|||
08 Jan 2009, 01:48 |
|
sleepsleep 08 Jan 2009, 07:00
confuse here,
what are the TCHAR effect when one uses win32a.inc and win32w.inc? is TCHAR = 2 bytes? |
|||
08 Jan 2009, 07:00 |
|
LocoDelAssembly 08 Jan 2009, 07:20
WIN32A.INC:
Code: ; Win32 programming headers (ASCII) ... struc TCHAR [val] { common match any, val \{ . db val \} match , val \{ . db ? \} } WIN32W.INC: Code: ; Win32 programming headers (WideChar) ... struc TCHAR [val] { common match any, val \{ . du val \} match , val \{ . du ? \} } http://flatassembler.net/docs.php?article=win32 wrote: 1.7 Text encoding http://flatassembler.net/docs.php?article=manual#1.2.2 wrote: 1.2.2 Data definitions |
|||
08 Jan 2009, 07:20 |
|
israbvk 09 Mar 2009, 07:57
I am looking at ways to define the UNICODE character set for text encoding (Currently looking for a specific non-roman script language) to create a language specific editor /notepad. Help directions requested in connection with TCHAR and use of db.
1.7 Text encoding The resource macroinstructions use the du directive to define any Unicode strings inside resources - since this directive simply zero extends the characters to the 16-bit values, for the strings containing some non-ASCII characters, the du may need to be redefined. For some of the encodings the macroinstructions redefining the du to generate the Unicode texts properly are provided in the ENCODING subdirectory. For example if the source text is encoded with Windows 1250 code page, such line should be put somewhere in the beginning of the source: include 'encoding\win1250.inc' |
|||
09 Mar 2009, 07:57 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.