>George,
>
>Thanks for the response...
>I changed the parameters in light of your last bit of info.
>
>I am still getting the error (87).. And I almost wonder if it might not be because of my declaration statement..Any thoughts?:
>
>DECLARE Integer RegEnumValue IN WIN32API;
>Integer hKey, Integer iValue, String Valname, Integer Vallength, ;
>Integer lpdwReserved, Integer lpdwType, String lpbData, Integer lpcbData
>
>Thanks again,
>TW
Tom,
I think it should be
DECLARE Integer RegEnumValue IN WIN32API;
Integer hKey, Integer iValue, String @Valname, Integer @Vallength, ;
Integer @lpdwReserved, Integer @lpdwType, String @lpbData, Integer @lpcbData
Your declaration looks OK except for the missing @ which is how you indicate that the parameter is passed by reference.
You can reply directly to last last message BTW.
George
Ubi caritas et amor, deus ibi est