Hi friends!
I have this problem to convert this code to VB.net or 2005
using System;
using System.Runtime.InteropServices;
public class PortAccess
{
[DllImport("inpout32.dll", EntryPoint="Out32")]
public static extern void Output(int adress, int value);
}
I try to convert in this:
Imports System
Imports System.Runtime.InteropServices
Public Class PortAccess
<DllImport("inpout32.dll", EnTryPoint = "Out32")> _
Public Shared Sub Output(ByVal adress As Integer, ByVal value As Integer)
End Sub
End Class
But here the error: i can't buil the project

" Name 'EnTryPoint' is not declared. "
Please Help me!