Hello again,

I was wrong about the dependencies. The error is "Invalid access to
memory location".

Here is the declaration:

[DllImport(SIPXTAPI_DLL, SetLastError = true, CallingConvention =
CallingConvention.Cdecl,
            EntryPoint = "sipxConfigSetLogFile")]
protected static extern SipxResult SipxConfigSetLogFile(string fileName);


And the complete error code is:

Unable to load DLL
'C:\projects\c#\SipxTapiExample\bin\Debug\sipXtapi.dll': Invalid
access to memory location. (Exception from HRESULT: 0x800703E6)

//Jonas
_______________________________________________
sipxtapi-dev mailing list
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipxtapi-dev/

Reply via email to