Re: [Ekiga-devel-list] the morning crash



Damien Sandras a écrit :
Le samedi 12 avril 2008 à 11:26 +0200, Julien Puydt a écrit :
Damien Sandras a écrit :
No, it looks weird.
Indeed.

The code is this one :
PString token;
endpoint.SetUpCall ("pc:*", dial_uri.c_str (), token);
I saw ; may I just ask why we extract the C string from a std::string before calling a C++ method?

Because OPAL expects a PString and a PString can be created from a "char
*", not from a std::string (sigh).

Uh... are you sure? I thought I had seen such a method...

Snark


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]