kk8
asked on
LoadLibrary() hangs under vista
LoadLIbrary("xxx.dll") works fine on XP but hangs on Vista. Any clues?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks for helping me out here. I did try that before I posted, the function has a 3rd argument with the choices of
0. NULL
1. LOAD_IGNORE_CODE_AUTHZ_LEV
2. LOAD_WITH_ALTERED_SEARCH_P
3. DONT_RESOLVE_DLL_REFERENCE
4. LOAD_LIBRARY_AS_DATAFILE
5. LOAD_LIBRARY_AS_DATAFILE_E
6. LOAD_LIBRARY_AS_IMAGE_RESO
with 0-2, the behavior is same as LoadLibrary, for others it does not hang but does not get the job right. GetProcAddress fails to extract the correct loc.
Any clues? Thanks