I have problems with using RComm. RComm::Open() always returns KErrPermissionDenied both on device and on emulator. Epocwnd.out always contains the same error message whatever capabilities I set when trying on emulator:
*PlatSec* ERROR - Capability check failed - A Message (function number=0x00000007) from Thread XX.exe[XXXXXXXX]0001::Main, sent to Server !CommServer, was checked by Thread c32exe.exe[101f7989]0001::CCommServer and was found to be missing nothing. (An 'always fail' policy check).
In my opinion this message looks quite strange. Does anybody know what capability is required to use RComm?