Web Servers General Talk - Re: File handling in apache - HELP!!!!

This is Interesting: Free IT Magazines  
Home > Archive > Web Servers General Talk > September 2004 > Re: File handling in apache - HELP!!!!





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Re: File handling in apache - HELP!!!!
Michael Wojcik

2004-09-28, 4:14 am


In article <17f3052f.0409222333.599839b0@posting.google.com>, m_a_r_s_o_u@yahoo.com (marsou) writes:
>
> regarding the 2 different librarys issue - I then tried to use only
> _open(you are right I just accidentally didn't copy the underscore)
> but the result is the same


On Windows, _open is implemented in the C runtime library, so the
two-libraries issue remains. If your code is linked against one C
runtime and the Apache code is linked against another, then the
descriptors probably can't be shared.

In fact, they almost certainly can't, since it appears from the
Microsoft stdio.h that they're indices into the _iob array, which
will be private to each copy of the C runtime.

You'll have to ensure that your code is linked against the same C
runtime as the Apache code. This is a well-understood problem in
Windows development; I recommend consulting MSDN or one of the
Windows programming groups.

Note that the "depends" utility should be able to tell you which C
runtime you're using, and which one Apache is using.

--
Michael Wojcik michael.wojcik@microfocus.com

Pseudoscientific Nonsense Quote o' the Day:
From the scientific standpoint, until these energies are directly
sensed by the evolving perceptions of the individual, via the right
brain, inner-conscious, intuitive faculties, scientists will never
grasp the true workings of the universe's ubiquitous computer system.
-- Noel Huntley
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com