Problems with wshelper res_init.c
Douglas E. Engert
deengert at anl.gov
Thu Jul 10 12:06:24 EDT 2003
Jeffrey Altman wrote:
>
> Douglas E. Engert wrote:
>
> >It looks like res_init_startup() is not being called, thus
> >the iphlpapi.dll is not being loaded, and the res_init.c ends up using the
> >other methods to find the servers.
> >
> >This might be the fix!
> >
> are you using the WSHelper library or are you ripping out pieces of it
> to include in another project?
>
They ripped them out and included the routines in the application. It looks
like it never called the res_init_startup. I am going to try calling it.
> res_init_startup() is called from DllMain() during the
> DLL_PROCESS_ATTACH phase of initialization.
> res_init_cleanup() is likewise executed during DLL_PROCESS_DETACH.
>
> Jeffrey Altman
--
Douglas E. Engert <DEEngert at anl.gov>
Argonne National Laboratory
9700 South Cass Avenue
Argonne, Illinois 60439
(630) 252-5444
More information about the krbdev
mailing list