这个曾经让我相当苦恼,看到这个自然不会放过。
一位牛人很简单的回答:
参考MUIHello 例子:
C:/Program Files/Windows CE Tools/wce500/Windows Mobile 5.0 Smartphone SDK/Samples/CPP/Win32/Muihello/app/app.sln
C:/Program Files/Windows CE Tools/wce500/Windows Mobile 5.0 Smartphone SDK/Samples/CPP/Win32/Muihello/German_resfile/german_resfile.sln
C:/Program Files/Windows CE Tools/wce500/Windows Mobile 5.0 Smartphone SDK/Samples/CPP/Win32/Muihello/Resfile/resfile.sln
Samples竟然有多语言的例子,让我相当的惊讶!
学习了一下,比我自己的方法简单很多,看来需要好好学习SDK中提供的例子。
这个例子会生成muihello.exe.0409.mui,这其实是一个DLL资源文件,有人说这是一种命名规则。在不同的平台上就调用不同的资源,实现多语言。
在resfile.cpp文件中













还有一个文件resfile.def




而且resource.h是共用一个的。
尝试了一下,蛮好。