I just wanted to mention that you can't mix and match sipxtapidotnet with any version of sipxtapi. The .Net -> C interfaces are extremely sensitive to api changes. For instance, if sipxtapidotnet expects function "char* f(int, int)" and the actual function in your version of sipxtapi is "void f(int,int, char&)", then your char& parameter will be uninitialized and will cause memory access violations.
My best suggestion is to check out the latest version of sipxtapidotnet from the svn repository. The repository contains pre-built binaries in the following locations: SipXTapiDotNet\sipXtapi\sipXcallLib\sipXtapi\Debug SipXTapiDotNet\sipXtapi\sipXcallLib\sipXtapi\Release SipXTapiDotNet\SipXTapiDotNet_VB\bin\Debug SipXTapiDotNet\SipXTapiDotNet_VB\bin\Release SipXTapiDotNet\DotNetPlaceCall\bin\Debug - Josh On 5/11/07, Jaroslav Libák <[EMAIL PROTECTED]> wrote:
> Hello, > >I am new to sipXtapi. I just downloaded the sipXtapi and the wrapper for .net. >I have some questions, i hope somebody can help me: > >1) I tried to compile the sipXtapi with Visual Studio 8. I got the following error: >Error 1083 fatal error LNK1181: cannot open input file 'libpcre.a' sipXtapi > >There is no libpcre.a file on my computer (I installed pcre). So I changed the linker input from "libpcre.a" to "libpcre.dll.a". Now I got no >error (just a lot of warnings). Is this the right solution? Does my change have effects in executing sipXtapi. Did you use the VS2005 solution or the VS2003 solution? If you don't have libpcre.a, then you should link with libpcre.lib or pcre.lib, certainly not with a dll ! In pcre development version, you can find the header files and also the lib file. >2) After i tried to compile the sipXtapi, i tried to run DotNetPlaceCall. For that i use the compiled version of sipXtapid.dll which i also >have downloaded. Now I get a runtime error when the program wants to set the LogFile property: It can't find the sipxtapid.dll . Put it somewhere to the PATH, to the same directory where exe is located or add the path to sipxtapid.dll to PATH. Jaro _______________________________________________ sipxtapi-dev mailing list [email protected] List Archive: http://list.sipfoundry.org/archive/sipxtapi-dev/
-- _______________________________________________________ Joshua Garvin, Engineering Manager ProfitFuel - http://www.profitfuel.com - [EMAIL PROTECTED] Work: 512-637-3010 - Cell: 512-773-2618 - Fax: 512-
_______________________________________________ sipxtapi-dev mailing list [email protected] List Archive: http://list.sipfoundry.org/archive/sipxtapi-dev/
