General information
Category:
Windows API functions
Title:
RegEnumValue from WinApi32 function call
Hello, all
I'm testing a program to make sure it works in Win 2000 and NT. while testing i stumbled onto a problem with the RegEnumValue function call. This call is supposed to access the registry and pull the exe command of another program. The second program will not be installed the same on all PC's. I keep getting an error code of 87. I've found some info on this but the info only CRASHED the program. the call and code are as follows:
Declare Integer RegEnumValue IN WIN32API;
Integer hKey, Integer iValue, String @Valname, Integer @Vallength, ;
Integer @lpdwReserved, Integer @lpdwType, String @lpbData, Integer @lpcbData
retval = RegEnumValue(hKey, xindex, @valuename, @valuelen, @lpdwReserved, @dataType, @indata, @datalen)
What needs to be different in order to get this to work for Win NT/2k ?
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only