When i have imported the code from 8.x to 9.x & added corresponding capabilities, it's giving error "Unable to execute file for security reasons", while calling the method CContactDatabase::OpenL().
This API is used in my library phonebookimport.dll(statically linked & dynamically loaded). & this library is linked in main application say final.exe.
So i have added corresponding capability 'ReadUserData' in mmp of phonebookimport library.
Do i need to add the same capability to the main application as well?