List Info

Thread: Re: LoadLibrary fails on Sofia library




Re: LoadLibrary fails on Sofia library
country flaguser name
United States
2007-05-30 19:24:52
I'm not totally clear on how the C runtime lib wors, but
your suggestion lead to the solution.  I was statically
linking in sofia, but dynamically linking everything else. 
Once I change sofia to dynamic, this solved the problem. 
Thanks!!  


-----Original Message-----
From: Michael Jerris [mailto:mikejerris.com] 
Sent: Wednesday, May 30, 2007 5:01 PM
To: brian_moodyagilent.com; sofia-sip-devellists.sourceforge.net
Subject: RE: [Sofia-sip-devel] LoadLibrary fails on Sofia
library

Confirm that you are using the same C runtime library for
all the dll's
used in the process.  Mixing debug/release and
static/dynamic runtimes
can cause this.

Mike


> -----Original Message-----
> From: sofia-sip-devel-bounceslists.sourceforge.net
[mailto:sofia-sip-
> devel-bounceslists.sourceforge.net] On Behalf Of
brian_moodyagilent.com
> Sent: Wednesday, May 30, 2007 6:39 PM
> To: sofia-sip-devellists.sourceforge.net
> Subject: [Sofia-sip-devel] LoadLibrary fails on Sofia
library
> 
> When I link my DLL (ABC.DLL) to
libsofia_sip_ua.lib/dll, a LoadLibrary
> call on ABC.DLL fails due to an "Invalid access to
memory location".
The
> actual failure occurs when a DLL (XYZ.DLL), whose load
is triggered by
> ABC.DLL, calls into wininet.dll.  Any help on this
would be greatly
> appreciated.
> 
> Brian
> 
>
------------------------------------------------------------
------------
-
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2
express and take
> control of your XML. No limits. Just data. Click to get
it now.
> http://sourcefor
ge.net/powerbar/db2/
> _______________________________________________
> Sofia-sip-devel mailing list
> Sofia-sip-devellists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sofia-s
ip-devel

------------------------------------------------------------
-------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and
take
control of your XML. No limits. Just data. Click to get it
now.
http://sourcefor
ge.net/powerbar/db2/
_______________________________________________
Sofia-sip-devel mailing list
Sofia-sip-devellists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-s
ip-devel

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )