Unable to load DLL 'pjsipDll.dll': The specified module could not be found.

944 views
Skip to first unread message

André Carlucci

unread,
Jun 19, 2008, 8:33:04 AM6/19/08
to SIPek
Hello!

I just downloaded SipekSDK and Sipek2 from svn and try get the GUI
working.
When I try to run it, I get the exception:

"Unable to load DLL 'pjsipDll.dll': The specified module could not be
found. (Exception from HRESULT: 0x8007007E):"

in the function:

private pjsipRegistrar()
{
onRegStateCallback(rsDel);
}

Any ideas?

Here is my VS2005 info:

Microsoft Visual Studio 2005
Version 8.0.50727.762 (SP.050727-7600)
Microsoft .NET Framework
Version 2.0.50727 SP1

Installed Edition: Enterprise

Microsoft Visual Basic 2005 77646-008-0000007-41251
Microsoft Visual Basic 2005

Microsoft Visual C# 2005 77646-008-0000007-41251
Microsoft Visual C# 2005

Microsoft Visual C++ 2005 77646-008-0000007-41251
Microsoft Visual C++ 2005

Microsoft Visual Studio Tools for Office 77646-008-0000007-41251
Microsoft Visual Studio Tools for the Microsoft Office System

Microsoft Visual Web Developer 2005 77646-008-0000007-41251
Microsoft Visual Web Developer 2005

Microsoft Web Application Projects 2005 77646-008-0000007-41251
Microsoft Web Application Projects 2005
Version 8.0.50727.762

Visual Studio 2005 Team Edition for Testers 77646-008-0000007-41251
Microsoft Visual Studio 2005 Team Edition for Software Testers

Crystal Reports AAC60-G0CSA4B-V7000AY
Crystal Reports for Visual Studio 2005


Microsoft Visual Studio 2005 Team Edition for Software Testers - ENU
Service Pack 1 (KB926601)
This service pack is for Microsoft Visual Studio 2005 Team Edition for
Software Testers - ENU.
If you later install a more recent service pack, this service pack
will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/926601

ReSharper 3.1 [Not Loaded]
ReSharper add-in for Microsoft Visual Studio. For more information
about ReSharper, see the ReSharper website at http://www.jetbrains.com/resharper.
Copyright © 2003–2008 JetBrains, Inc

Security Update for Microsoft Visual Studio 2005 Team Edition for
Software Testers - ENU (KB937061)
This Security Update is for Microsoft Visual Studio 2005 Team Edition
for Software Testers - ENU.
If you later install a more recent service pack, this Security Update
will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/937061

AnkhSVN
Please visit http://ankhsvn.tigris.org for more information

Below is the version information for the various AnkhSVN components
AnkhSVN 1.0.2.2778
OpenSSL 0.9.8a
Neon 0.25.5
ZLib 1.2.3
Berkeley DB 4.4.20
Subversion 1.4.5
Ankh 1.0.2Final
apr-iconv 0.9.7
apr-util 0.9.12
apr 0.9.12

GhostDoc for Visual Studio 2005
For more information about GhostDoc, see the GhostDoc website
at http://www.roland-weigelt.de/ghostdoc
Copyright © 2003-2008 Roland Weigelt.

Sasa Coh

unread,
Jun 19, 2008, 3:37:23 PM6/19/08
to si...@googlegroups.com
Hello!


On Thu, Jun 19, 2008 at 2:33 PM, André Carlucci <andrec...@gmail.com> wrote:

Hello!

I just downloaded SipekSDK and Sipek2 from svn and try get the GUI
working.
When I try to run it, I get the exception:

"Unable to load DLL 'pjsipDll.dll': The specified module could not be
found. (Exception from HRESULT: 0x8007007E):"

in the function:

private pjsipRegistrar()
   {
     onRegStateCallback(rsDel);
   }

Any ideas?

Hmmm, this is strange. Did you change anything? Is the pjsipDll.dll in the /lib folder? Which OS you're using (Linux or Windows)?
Is there anybody else having such a problem?
 
bye,
sasa

tiagores

unread,
Jun 20, 2008, 9:55:24 AM6/20/08
to SIPek
Hello,

Actually I had that same problem in the past (and maybe still have). I
am currently working in windows xp and visual studio 2008, and
everything works fine on my computer, but when I build the application
and run it in other computer it happens that same error. I think it's
because of different .NET framework versions. I have made an installer
with the framework embeded but I only tested it in a vista computer
and the error was the same. I'll try to do the same in a XP system and
will tell you if the error persists.

Bye,
Tiago

On 19 Jun, 20:37, "Sasa Coh" <sasa...@gmail.com> wrote:
> Hello!
>
> On Thu, Jun 19, 2008 at 2:33 PM, André Carlucci <andrecarlu...@gmail.com>
> > For more information, visithttp://support.microsoft.com/kb/926601
>
> > ReSharper 3.1 [Not Loaded]
> > ReSharper add-in for Microsoft Visual Studio. For more information
> > about ReSharper, see the ReSharper website at
> >http://www.jetbrains.com/resharper.
> > Copyright (c) 2003–2008 JetBrains, Inc
>
> > Security Update for Microsoft Visual Studio 2005 Team Edition for
> > Software Testers - ENU (KB937061)
> > This Security Update is for Microsoft Visual Studio 2005 Team Edition
> > for Software Testers - ENU.
> > If you later install a more recent service pack, this Security Update
> > will be uninstalled automatically.
> > For more information, visithttp://support.microsoft.com/kb/937061
>
> > AnkhSVN
> > Please visithttp://ankhsvn.tigris.orgfor more information
>
> > Below is the version information for the various AnkhSVN components
> > AnkhSVN 1.0.2.2778
> > OpenSSL 0.9.8a
> > Neon 0.25.5
> > ZLib 1.2.3
> > Berkeley DB 4.4.20
> > Subversion 1.4.5
> > Ankh 1.0.2Final
> > apr-iconv 0.9.7
> > apr-util 0.9.12
> > apr 0.9.12
>
> > GhostDoc for Visual Studio 2005
> > For more information about GhostDoc, see the GhostDoc website
> > athttp://www.roland-weigelt.de/ghostdoc
> > Copyright (c) 2003-2008 Roland Weigelt.

nik...@gmail.com

unread,
Jun 21, 2008, 6:09:19 PM6/21/08
to SIPek
Hi

i've got the same problem:
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!

I'm using windows XP and VS2005.
I've also tried to build a custom dll and link the custom dll, but i
continue to get the same error...

Where am i wrong?
Thanks to all in advance

Sasa Coh

unread,
Jun 22, 2008, 12:35:03 PM6/22/08
to si...@googlegroups.com
Hello!

On Sun, Jun 22, 2008 at 12:09 AM, <nik...@gmail.com> wrote:

Hi

i've got the same problem:
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

The lib folder is ok.
 


but the problem still remains!

I'm using windows XP and VS2005.
I've also tried to build a custom dll and link the custom dll, but i
continue to get the same error...

Where am i wrong?
Thanks to all in advance

Is it the same with the sipek2 (softphone) project? Maybe it's something with (missing) openssl libraries (used by pjsipDll.dll). I propose you to use dependency walker (Depends.Exe - from visual studio) or similar. Please let us know if you succeed!
 
regards,
sasa

tiagores

unread,
Jun 23, 2008, 12:43:24 PM6/23/08
to SIPek
Hello,

I think the error is because de framework version. I haven't tryed yet
the installer I made with the components attached, but I tryed
something else:
I was using .net framework version 3.5, and the application runs in my
computer. In other computers there was that error. Now I went to the
properties and built the program for framework 3.0, tryed in other
computer that previously didn't work, and now it works fine (including
the one with vista).

So my advice is for those who get this error, to update the .net
framework (I tested it with 3 and 3.5).

3: http://www.microsoft.com/downloads/details.aspx?FamilyID=10cc340b-f857-4a14-83f5-25634c3bf043&DisplayLang=en
3.5: http://www.microsoft.com/downloads/details.aspx?FamilyID=333325fd-ae52-4e35-b531-508d977d32a6&DisplayLang=en

to change the target framework in visual studio 2008, right click in
the project, open properties, go to Application tab and change the
field (target framework).

Hope this helps,

Tiago

On 22 Jun, 17:35, "Sasa Coh" <sasa...@gmail.com> wrote:
> Hello!
>
>
>
> On Sun, Jun 22, 2008 at 12:09 AM, <nik...@gmail.com> wrote:
>
> > Hi
>
> > i've got the same problem:
> > I'm trying to test your example at
> >http://sipekapps.googlecode.com/svn/trunk
> > (Example1_Click2Dial_pjsipDll<http://sipekapps.googlecode.com/svn/trunk%28Example1_Click2Dial_pjsipDll>
> > )

nik...@gmail.com

unread,
Jun 24, 2008, 6:56:18 PM6/24/08
to SIPek
Hi to all.

I've tried to upgrade to 3.5 framework but i'm still having the same
error.

I've tried to use depends.exe and it displays me these error:

Warning: At least one module has an unresolved import due to a missing
export function in a delay-load dependent module.
MPR.DLL
WNetRestoreConnectionA

Any idea?

thanks to all.

nik...@gmail.com

unread,
Jun 24, 2008, 7:24:44 PM6/24/08
to SIPek
Ok guys it seems that i've resolved installing Openssl.

Thanks to all!

gouras...@gmail.com

unread,
Jul 25, 2013, 1:24:13 AM7/25/13
to si...@googlegroups.com, andrec...@gmail.com
hi,
i want to make dll from pjsip 2.1 please provide me any procedure or link to do that
thanks in advance
regards
Ashish Gour
Reply all
Reply to author
Forward
0 new messages