I'm new to Symbian Programming and I have a problem that I can't solve.
I have to change a part of an application written with Symbian C++.
I want to insert the ability to connect to other devices so I ha imported the needed classes from the BtpoitToPoint example that come with the SDK.
The problem is that some identifier are undeclared for the compiler and it give me some errors:
..\\SRC\\Apaclient.cpp:177: `R_BTPO_DISCONNECT_COMPLETE' undeclared
..\\SRC\\Apaclient.cpp:187: `R_BTPO_ERR_FAILED_TO_DISCONNECT' undeclared
I have inserted this identifier in my resource file as follow:
RESOURCE TBUF r_btpo_disconnect_complete
buf = qtn_btpo_disconnect_complete;
RESOURCE TBUF r_btpo_failed_to_disconnect
buf = r_btpo_failed_to_disconnect;
And defined qtn_btpo_disconnect_complete, r_btpo_failed_to_disconnect in my .loc file.
There is a problem with my code or it is a problem of setting the right path so that the compiler find the resource file? How can I solve it?
Thanx in advance!