< Previous by Date Date Index Next by Date >
  Thread Index  

[reSIProcate] RE: nameserver fix....


Hi Alan,

I'm using W2K SP4.

Actually the problem seems related to linking with iphlpapi.lib only.  If I
link with that lib and have at least one function used from that library (to
ensure it is linked in).   The gethostname call deadlocks.  

It might have something to do with that fact that I changed the windows
runtime libraries from DLL's (of ares and resiprocate projects) to static to
match the mode that my PBX code builds in.  (Ie.  Code Generation Project
settings From Multi-Threaded (Debug) DLL to MultiThreaded (Debug)).  But I
made this change a long time ago - and this would be the only side effect -
if it is indeed related to the problem.

I just wanted to ping the list before I try to troubleshoot myself.  I'll
work on a test driver.

Thanks,

Scott

-----Original Message-----
From: Alan Hawrylyshen [mailto:alan@xxxxxxxxxx] 
Sent: Thursday, June 17, 2004 3:52 PM
To: Scott Godin
Cc: 'resiprocate' Resiprocate
Subject: Re: nameserver fix....

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


On Jun 17, 2004, at 13:07, Scott Godin wrote:

> Hi Alan,
>
>  
>
> Since I updated to use this changed and added iphlpapi.lib to my 
> project any calls to gethostname deadlock.  Ie. Log::initialize calls 
> gethostname and everything stops here.
>

Can you create a minimal test driver that has this problem? That, 
combined with the Windows release / version would help us track down 
what you are seeing -- since our environment does not behave as you 
describe.

Thanks

Alan

a l a n a t j a s o m i d o t c o m
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (Darwin)

iD8DBQFA0fZ92t1B785xGCgRAvpJAJwLlxjLu7tgJM5VkwIvPWXSN93JJQCeI8Og
DXCayFhNucmz1etTC5DlsJY=
=LFm6
-----END PGP SIGNATURE-----