about Login to RetroMessenger

Old SourceForge Discussion forum that is now archived. Please use one of the other forums.

RE: about Login to RetroMessenger

Postby Dr Bob » Thu Oct 23, 2008 8:29 pm

Yes, this bug is not surprising. Sorry my notes in retroshare.cc should have been clearer.

The reason you cannot link to NotifyTxt.o is because it is not included in the library.
NotifyTxt is derived from the abstract interface class: NotifyBase. which the GUi must
implement to receive callbacks from libretroshare.

Initially take the notifytxt.h/cc and use them in your application.

When you have improved your GUi to point where you can accept callbacks from retroshare.
Then you can use notifytxt.h/.cc as an example of what can be done.

DrBob.
Dr Bob
 

RE: about Login to RetroMessenger

Postby mahendra » Sat Oct 25, 2008 3:01 am

Hello DrBob,

Thanks a lot for Guidance.
Now we are able to initialize Retroshare and login.

and i am sorry for bothering you again to know about RS-APIs.

for adding a friend to list we use following

rsPeers->LoadCertificateFromString(Certstring, id)
rsPeers->addFriend( id )

in above APIs i am not sure about "id" ??
Which "id" is this? and how can we get "id" from "friends certificate".

i am not sure if "rsPeers->getOwnId()" is the right function to get friends id??

What is your suggestion?

Thanks& kind Regards,
Mahendra
mahendra
 

Previous

Return to Developers Corner - Archive

Who is online

Users browsing this forum: No registered users and 1 guest