Click to See Complete Forum and Search --> : Crashes when calling registry API


Pascal37
August 27th, 2001, 11:14 AM
I get frequent crashes (memory access errors) when calling the registry API, particularly with RegSetKeyEx.
I tried it first with the code generated by the API viewer, then with a complete registry API wrapper from the VBA developerīs magazine. Still, I got the same crashes.
Does this sound familiar to anyone? Does anyone have an idea what causes the crashes?

Andrew R.
August 28th, 2001, 09:53 AM
Yes, I have the same problem.
It often crashes if I run my application from the desktop short-cut. If I run it directly from its folder it always OK.

But this is very bizarre problem and I don't have a solution.

cksiow
August 29th, 2001, 01:21 AM
I am not sure whether it will help. http://vblib.virtualave.net has a class vbRegistry that wraps the API.



HTH

cksiow
http://vblib.virtualave.net - share our codes