Errors related to edkutils.lib
Hi,
I am facing follwoing errors while porting from 32 to 64 bit.
fatal error LNK1104: cannot open file 'edkutils.lib'
Actually I am using "HrIdentifyRegistryRootKey" method from edkutils.
We can resolve it in two way, either provide the library for 64 or rewrite the function, which can replace the functionality of "HrIdentifyRegistryRootKey".
Please suggest best possible solution.
Thanks,
Kishore wani
I'll check to see what the EDK team has planned (or shipped). If you can easily rewrite the functionality yourself, that's an easy solution.
Thanks,
Kang Su Gatlin
Visual C++ Program Manager
Sorry that it took a while -- had to track down the right people here. This is what I got from the EDK team (it appears you could probably implement this yourself w/o much problem):
There is no 64-bit version of the EDK forthcoming in the near future, nor do I know if we would ever port the HrIdentifyRegistryRootKey function.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/exchserv/html/function_6lyx.asp describes the function correctly:
All that this helper function does is
1. take the string passed,
2. Check to see that the string is rooted in one of:
HKEY_LOCAL_MACHINE, HKEY_CLASSES_ROOT, HKEY_CURRENT_USER, and HKEY_USERS.
3. Obtain a handle to the registry key for subsequent operations