Thanks Curt,  problem solved.

On Thu, Apr 9, 2009 at 8:33 PM, Curt Arnold <carn...@apache.org> wrote:

>
> On Apr 9, 2009, at 4:17 AM, Lijuan Zhu wrote:
>
>  More debugging showed where the error was:
>>
>> In the misc.c around line 161
>>
>> FARPROC apr_load_dll_func(apr_dlltoken_e fnLib, char* fnName, int ordinal)
>> {
>>    if (!lateDllHandle[fnLib]) {
>>        lateDllHandle[fnLib] = LoadLibrary(lateDllName[fnLib]);
>>        if (!lateDllHandle[fnLib])
>>            return NULL;
>>    }
>>    if (ordinal)
>>        return GetProcAddress(lateDllHandle[fnLib], (char *) ordinal);
>>    else
>>        return GetProcAddress(lateDllHandle[fnLib], fnName);
>> }
>>
>> The LoadLibrary("kernel32") returned NULL, which caused the problem.
>>
>> The error code is 126, can not find the module kernel32 ? why it can not
>> find the kernel32.dll, it is in the c:\windows\system32 ...
>>
>> Anyone can help me out?
>>
>> Thanks,
>> Lijuan
>>
>>
> Looks like an APR issue, try searching the APR mailing list and bugzilla (
> http://apr.apache.org) before asking on u...@apr.apache.org.  If you ask
> there, specify the precise version of Windows you are using, what value of
> the arguments to apr_stat and the expected and actual results.  More likely
> to get a quicker response there.
>

Reply via email to