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:mike jerris.com]
Sent: Wednesday, May 30, 2007 5:01 PM
To: brian_moody agilent.com; sofia-sip-devel lists.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-bounces lists.sourceforge.net
[mailto:sofia-sip-
> devel-bounces lists.sourceforge.net] On Behalf Of
brian_moody agilent.com
> Sent: Wednesday, May 30, 2007 6:39 PM
> To: sofia-sip-devel lists.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-devel lists.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-devel lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-s
ip-devel
|