I read from Release notes of S90.1 beta3 and noticed the following words:
Symbian example applications
--------------------
Following Symbian example applications do not work properly
- samplecode\messaging\textmtm\TXIN
I do try to make the textmtm example running on Symbian 9.1 3th edition, and encounter with many problems, after several days searching, I get part remedy(vs2003 + vs2.0.1)
1. remark arguments for E32Dll(), it seems that TDllReason not use any more.
2. change the format of resource file in mmp, since Symbian9, it is something like
start resource source-file
[target target-file-name]
[targetpath targetpath]
[header]
[lang languages]
[uid uid-value-1 [uid-value-2] ]
end
other than the original "systemresource somefilename.rss"
and also disable the updateMmpFile feature in all projectname-SymbianOS-properties.xml, if not doing this, the modified resource format mmp file will be marked automatically, and result in failed to open some .rsg file error in VS2003.
After doing these, all project can compile OK except textmtmview, which throw out
Error in linking: Object reference not set to an instance of an object.
textmtmview : error PRJ0003 : Error spawning 'link.exe'.
I googled that and get a result that this is vs2.0.1's bug or something, and use command line to compile will work, but I am not so lucky to get the right result.
another thing is about the registeration reasouce file, which named txtdat.rss in root directory of textmtm, it is not included by any project so it is not automatically compiled, I tried to compile it manually in command line by "rcomp -stxtdat.rss -otxtdat.rsc", get nothing but a windows dialog which murmurs
rcomp.exe has encountered a problem and needs to close. We are sorry for the inconvenience..
Any guys ever make this example run on Symbian9?
Best Regards
bibu






