Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help w/ Reg Value Enum/Deletion

Status
Not open for further replies.

techkate

Programmer
Feb 23, 2004
118
US
I'm having an issue enumerating registry values (using RegEnumValue). Please see thread222-1136841 . Any help is appreciated.

Thanks,
Kate
 
Well, I think strongm made pretty clear in the other thread what you're doing wrong...he even put it in red and boldface! :)

You never posted your declare statement. Might you take another look at it?

HTH

Bob

 
Thanks Bob, see the update in the other post. Looks like strongm's suggestion did the trick.
 
In case you're not clear on this, Katy, default in VB6 is ByRef. Furthermore, attempting to pass the wrong way will cause the call to crash. Also, a long pointer to a bunch of data is the sort of thing I, personally, would intuitively guess would be passed by reference rather than by value.

Bob
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top