apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sidinsd <sid.schip...@ga.com>
Subject Re: APR and Windows Services
Date Wed, 22 Jun 2011 18:49:04 GMT

Moreover, if you recognized that my problem was that I didn't call
apr_initialize(), why bash me? It was just ignorance on my part, couldn't
you have replied nicely? And just told me that I nbeeded to call
apr_initialize? Why be so nasty?

sidinsd wrote:
> I'm sorry you took my post as bashing. I wasn't bashing anyone, I was just
> trying to get some help. I can't understand why you are so sensitive. The
> forum is supposed to be a friendly place where people can get help, isn't
> that what it is meant for?
> William A. Rowe Jr. wrote:
>> On 3/24/2010 3:49 PM, sidinsd wrote:
>>> sidinsd wrote:
>>>> It is almost as if the linking in of the apr_initialize() code somehow
>>>> screws everything up. Has anybody heard of such a problem?
>>> Well, I figured this one out myself. Apparently, the libapr1-dll file
>>> must
>>> be in the same directory as the .exe file for the program you are
>>> running.
>>> It has nothing to do with it being a Windows Service, this applies to
>>> any
>>> program. My guess as to why this is required is that the loadDLL that
>>> the
>>> system does for the apr_initialize() doesn't take into affect the PATH
>>> environment variable and just looks in the current working directory.
>>> That
>>> seems a bit silly, but putting the dll into the working directory solved
>>> my
>>> problem, so I'm happy.
>> It never got to apr_initialize(), the function never existed, so in this
>> respect
>> you are a bit off topic for the list.  There are a few of us here that
>> maintain
>> the apr port, but we don't always have time to provide immediate
>> feedback.
>> You are looking at Windows Vista/7/2008 Server behavior by design, talk
>> to
>> Microsoft if you don't like their changes, but please don't go bashing
>> the
>> library projects (all bazillion of them) just because you aren't paying
>> attention to the restrictions your preferred operating system imposes. 
>> :)

View this message in context: http://old.nabble.com/APR-and-Windows-Services-tp28019783p31905768.html
Sent from the APR Dev (Apache Portable Runtime) mailing list archive at Nabble.com.

View raw message