PString question....

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

 



Hello...
May seems a silly question but...

after reading the PWLIB doc and PString....


Is there a way (must be to get a PString s)
and return a char *  (C char *)?

seems that you can convert char * to PString....

why???

I must make a call to an external function that
accepts char* and returns char *

if s is PString....
and  f1 is defined as:   char *f1(char *);

than....

p=f1(s) does not work....

p=f1(s.ToLiteral());    -> results error....


Any help????


Sergio


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl

_______________________________________________________

List: Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx
Archive: http://sourceforge.net/mailarchive/forum.php?forum_id=8549
Homepage: http://www.gnugk.org/

[Index of Archives]     [SIP]     [Open H.323]     [Gnu Gatekeeper]     [Asterisk PBX]     [ISDN Cause Codes]     [Yosemite News]

  Powered by Linux