📄 readme.txt
字号:
Example for:
- Using dynamic library
Build for emulator:
in \QHelloWorld\group:
bldmake bldfiles
abld build winscw udeb
abld freeze winscw
abld build winscw udeb
In Codewarrior:
import and build TestDLL first
import, build and start HelloWorld
Build for device:
in \QHelloWorld\group:
bldmake bldfiles
abld build gcce urel
abld freeze gcce
abld build gcce urel
makesis HelloWorld_gcce.pkg
Important things to consider:
- Use proper UIDs that should be received from symbiansigned.com
- When the keyword EXPORTUNFROZEN is used, there are problems to build for the gcce target.
However, there is a workaround for this, and that is to freeze the DLL, and then build for gcce.
The keyword EXPORTUNFROZEN should be removed from the mmp file.
- Important issues related to capabilities for both application and library:
- Dll needs to have at least the same capabilities as the application that tries to use it.
- Dll need to have as many capabilities as possible so applications can use it:
"Shared libraries that export a static interface will need to have capabilities such that all its users may load them"
- http://www.symbian.com/files/rx/file3202.pdf
Rule 2: A process cannot load a DLL with less capabilities than itself匘LL
- capabilities do only reflect a level of trust匘LL
- capabilities do not authorise anything
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -