Crashes when calling registry API
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?
Re: Crashes when calling registry API
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.
Re: Crashes when calling registry API
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