CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Aug 2001
    Posts
    1

    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?



  2. #2
    Join Date
    Aug 2000
    Location
    Ottawa, Canada
    Posts
    469

    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.


  3. #3
    Join Date
    Apr 2000
    Posts
    737

    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured