Re: read from registry - vb 6.0
Date: Wed, 9 Jan 2008 08:46:16 +0200
I suppose if I will search in google,
I will find this thread.
I didn't find any answer, yet,
because there are several problems (ERROR_MORE_DATA ...) long l
l = RegOpenKeyEx(HKEY_LOCAL_MACHINE, "<full_path>", 0, 1, hnd) ... ' the above is O.K and l = 0.
ln = 0
l = RegQueryValueEx(hnd, "a_key", 0, 1, value, ln)
after the above l = 234 (ERROR_MORE_DATA) and ln got the correct size !
I will appreciate if I find the answer in this thread, please.
Thanks :) Received on Wed Jan 09 2008 - 00:46:16 CST