On 20 Mar 2006 at 21:26, Pekka Pessi wrote:

> On 3/20/06, Marcin Michalak <[EMAIL PROTECTED]> wrote:
> >  I'm trying to create a .NET application and its complaining about
> > the callback function. How should it be declared? In C it works, but
> > when I use c++ it complains that conversion is not possible :-(
> 
> Try to add extern "C" to your declaration? something like
> 
> extern "C" int marcins_callback(marcins_magic_t *, nta_leg_t *,
> nta_outgoing_t *, sip_t const *);
Hi,
 I tried that, but still doesn't work... I'll try some casting, but 
that may be tricky...
 Anyway, its not a good solution as well, because I need to access 
some C++ functions inside my callback :-(
 Marcin
----------------------------------------------------------
Marcin Michalak         Research Engineer
Mobile: +41 79 330 83 51        Telscom AG              



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Sofia-sip-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel

Reply via email to