这个 pkg 的内容为: ; Stock.s60.pkg ; ;Language - standard language definitions &EN ; ; standard SIS file header #{"Stock"},(0x1000ABCD),1,0,0 ; ;Supports Series 60 v2.0 (0x101F7960), 0, 0, 0, {"Series60ProductID"} ; ; ; "C:\Symbian\7.0s\Series60_v21_C\EPOC32\release\wins\udeb\z\system\apps\stock\Simple176_208.mbm" -"!:\system\apps\stock\Simple176_208.mbm" ; ; ; ; app(FR,RI means auto run after install, must be placed under the pkg file) "C:\Symbian\7.0s\Series60_v21_C\EPOC32\release\wins\udeb\z\system\apps\stock\stock.rsc" -"!:\system\apps\stock\stock.rsc" "C:\Symbian\7.0s\Series60_v21_C\EPOC32\release\wins\udeb\z\system\apps\stock\stock_caption.rsc" -"!:\system\apps\stock\stock_caption.rsc" "C:\Symbian\7.0s\Series60_v21_C\EPOC32\release\wins\udeb\z\system\apps\stock\stock.aif" -"!:\system\apps\stock\stock.aif" "C:\Symbian\7.0s\Series60_v21_C\EPOC32\release\armi\urel\stock.app" -"!:\system\apps\stock\stock.app",FR,RI
#2 2006-03-04, 04:04 hoolee Super Contributor Join Date: Mar 2005 Posts: 2,437
Re: 关于字节对其的问题?! arm平台alignment方式是不一样的,详细请参考SDK中资料 » Symbian OS SDK v8.1a » Tools And Utilities » Build tools guide » The native build targets __________________ I'd just be the catcher in the rye hoolee
#3 2006-03-04, 04:10 chenziteng Forum Nokia Champion Join Date: May 2004 Posts: 744
Re: 关于字节对其的问题?! Quote:Originally Posted by hoolee arm平台alignment方式是不一样的,详细请参考SDK中资料 » Symbian OS SDK v8.1a » Tools And Utilities » Build tools guide » The native build targets
What you said is totally right, but has nothing to do with jintian2005's problem.
#4 2006-03-04, 04:11 chenziteng Forum Nokia Champion Join Date: May 2004 Posts: 744
Re: 关于字节对其的问题?! The GCC compiler ignores "#pragma pack" statement when compiling for ARM platform, so you should use "__attribute__((packed, aligned))", like this:
#7 2007-10-19, 02:07 liuxg Forum Nokia Expert Join Date: Mar 2003 Posts: 1,934
Re: 关于字节对其的问题?! Do not use "sizeof" to get its length. Use "Length" method to get the real length of the descriptor, and use "MaxLength" to get its maximum length of descriptor. __________________ Liuxg Forum Nokia
DO THINGS RIGHT, AND DO THINGS RIGHT ALWAYS IN THE FIRST TIME http://discussion.forum.nokia.com/forum/showthread.php?t=109161
Re: 关于字节对其的问题?! Quote:Originally Posted by liuxg Do not use "sizeof" to get its length. Use "Length" method to get the real length of the descriptor, and use "MaxLength" to get its maximum length of descriptor.