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 *);

--
Pekka.Pessi mail at nokia.com


-------------------------------------------------------
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&kid0944&bid$1720&dat1642
_______________________________________________
Sofia-sip-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel

Reply via email to