Ignore the .NET suggestion. 0x800700B6 means there's an invalid ordinal in the DLL. See winerror.h definition for 0xB6 = 182 decimal. // MessageId: ERROR_INVALID_ORDINAL // // MessageText: // // The operating system cannot run %1. // #define ERROR_INVALID_ORDINAL 182L I'd hazard a guess there's an error in the .DEF file or the .LIB you're linking with the app is mis-aligned. -----Original Message----- From: pjsip-bounces@xxxxxxxxxxxxxxx [mailto:pjsip-bounces at lists.pjsip.org] On Behalf Of nik600 Sent: 21 June 2008 17:29 To: pjsip at lists.pjsip.org Subject: problem with loading pjsipDll.dll Hi to all. I'm trying to test your example at http://sipekapps.googlecode.com/svn/trunk (Example1_Click2Dial_pjsipDll) I can generate the solution without any problem but when i start the executable i get a System.DllNotFoundexception. "Unable to load DLL 'pjsipDll.dll': The operating system cannot run . (Exception from HRESULT: 0x800700B6)". I've placed pjsipDll.dll everywhere... in system32 in the bin/debug directory in the lib project but the problem still remains! Where am i wrong? Thanks to all in advance -- /*************/ nik600 https://sourceforge.net/projects/ccmanager https://sourceforge.net/projects/reportmaker https://sourceforge.net/projects/nikstresser _______________________________________________ Visit our blog: http://blog.pjsip.org pjsip mailing list pjsip at lists.pjsip.org http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org