Results 1 to 5 of 5

Thread: VB6 to VB.Net

Threaded View

  1. #3

    Thread Starter
    Lively Member
    Join Date
    Jun 2012
    Posts
    75

    Re: VB6 to VB.Net

    I changed the openprocess to:

    Code:
    Private Declare Function OpenProcess Lib "kernel32" (ByVal dwDesiredAccess As Integer, ByVal blnheritHandle As Boolean, ByVal dwAppProcessId As Integer) As IntPtr
    Seems to work.. Now I just need to resolve this:

    LINE: Call GetSystemInfo(si)
    Code:
    Additional information: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
    Last edited by VBbbq; Dec 12th, 2012 at 06:05 PM.

Tags for this Thread

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