News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

unicode support

Started by phoenixpl, July 10, 2008, 10:58:59 AM

Previous topic - Next topic

phoenixpl

Hi,

I'm new to asm (got some knowledge to build win32 api) and I need help from you. I was usually using wxWidgets cross platform library which is incorporating gettext to read *.mo localized/translated files. Is there something similar like gettext for asm/masm? If not how can I create localized/translated files for asm win32 api?

Regards,
Peter

Tedd

You 'could' still use gettext, but a little interfacing will be needed - might be worth figuring it out.
No snowflake in an avalanche feels responsible.

Mark Jones

"To deny our impulses... foolish; to revel in them, chaos." MCJ 2003.08

phoenixpl

Thanks guys. I'll see about GoAsm and I'll try building interface for gettext.

Any ideas how to build interfase? Should I build C dll and dynamically link it or should I try to create some static linking???

hutch--

If what you are trying to do is emulate an existing library in win32, use the API GetWindowText() in a seperate function and simply write the function to do the same as the library module you want to emulate.
Download site for MASM32      New MASM Forum
https://masm32.com          https://masm32.com/board/index.php

Tedd

You can either build a dll and link to that dynamically, or compile to an object file that you statically link in to your exe.
In either case, you'll then need to create an .inc file containing the function prototypes, and a .lib file for the linker (this should be done automatically when you build either.)




Hutch: 'gettext' has nothing to do with GetWindowText - it's a C library for multi-language strings.
No snowflake in an avalanche feels responsible.