559,954 active members*
2,592 visitors online*
Register for free
Login
Results 1 to 6 of 6
  1. #1
    Junior Member
    Join Date
    Nov 2017
    Posts
    1

    Fanuc VB.NET app

    Hello,

    I am trying to build a vb.net based application, that allows me to send and retrieve programs from the machine.

    When I try to alloccate the library I get the error "System.AccessViolationException". Can check the code on the attached image.

    Does anyone knows why this happens?

    Click image for larger version. 

Name:	VS_Error.jpg 
Views:	8 
Size:	16.3 KB 
ID:	377077

    Best regards

  2. #2
    Member
    Join Date
    Apr 2005
    Posts
    3634

    Re: Fanuc VB.NET app

    Maybe this webpage will help, specifically the 2nd solution at the bottom of the page that mentions the Fanuc 64-bit DLL If you're on a 64-bit PC.
    Free DXF - vectorink.com

  3. #3
    Banned
    Join Date
    Apr 2021
    Posts
    19

    Re: Fanuc VB.NET app

    Quote Originally Posted by sergioj View Post
    Hello,

    I am trying to build a vb.net based application, that allows me to send and retrieve programs from the machine.

    When I try to alloccate the library I get the error "System.AccessViolationException". Can check the code on the attached image.

    Does anyone knows why this happens?

    Click image for larger version. 

Name:	VS_Error.jpg 
Views:	8 
Size:	16.3 KB 
ID:	377077

    Best regards
    Hello there I am newbie here and I think, You seem to have memory corruption. Microsoft Application Verifier is invaluable in finding corruption. Use it to find your bug:

    Install it to your dev machine.
    Add your exe to it.
    Only select Basics\Heaps.
    Press Save. It doesn't matter if you keep application verifier open.
    Run your program a few times.
    If it crashes, debug it and this time, the crash will point to your problem, not just some random location in your program.

  4. #4
    Member
    Join Date
    Jan 2022
    Posts
    6

    Re: Fanuc VB.NET app

    This is often an indication that another memory is corrupt.YoWhatsApp APK Download

  5. #5
    Member
    Join Date
    Sep 2021
    Posts
    9

    Re: Fanuc VB.NET app

    Quote Originally Posted by arddk View Post
    This is often an indication that another memory is corrupt.YoWhatsApp APK Download
    Yeah, I also thought the same. Cause 3 months ago I was facing the same issue and after talking with expert he told me the reason as you mentioned above..

  6. #6
    Member
    Join Date
    Sep 2021
    Posts
    9

    Re: Fanuc VB.NET app

    Quote Originally Posted by arddk View Post
    This is often an indication that another memory is corrupt.
    Yeah, I agree with you.
    YoWhatsApp APK Download

Posting Permissions

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