Mail Archives: djgpp/1996/07/16/01:49:03
> That's right, but what I had in mind is creating, say, a multi-lingual
> application with support for, let's assume, 5 languages. There would be some
> fat error messages, hints, menu labels etc. Then loading it into memory at
If you use multiple sections, you will need to hand code and support a
custom stub.asm - all written in custom assembler. Bad idea.
If you use something like DXE's (which is what they were designed for) you
can load message files dynamically - and even add new message files without
needing to re-link the main image. You could install only the one needed
to be even slicker. Create an array of pointers to your messages, and
return the address of the array.
Use argv[0]'s base path to determine where to load them from.
- Raw text -