MFC multi languages UI question
-
I implemented a multi language UI in a MFC program, since only a few controls, so I write translation in code, I knew it can be implemented with DLL, or String Table. Now I wonder what way is better, in code, string table, or DLL,according to run time performance and space consuming. :)
-
I implemented a multi language UI in a MFC program, since only a few controls, so I write translation in code, I knew it can be implemented with DLL, or String Table. Now I wonder what way is better, in code, string table, or DLL,according to run time performance and space consuming. :)
If your program isn't huge, no reason to do this in an external library, that would definitely be the slowest and most (disk) space consuming method. I'd say string table would probably be fast, and as long as you don't have too many strings, it shouldn't be too costly. If you have a huge number of strings, you may start using up quite a bit of memory to support this, then the library method starts to become more appealing.