Wednesday 6 June 2012

INPOUT32.dll under .NET (Sending Data via parallel port )



Sample how to send data to LPT or printer port using INPOUT32.dll from Lakeview Research..
This time .NET version , very handy and quite stable under Windows XP.
Good for Software-Hardware Engineers and design projects.
  1. Option Strict Off
  2. Option Explicit On
  3. Module InpOut32_Declarations
  4. 'Inp and Out declarations for port I/O using inpout32.dll.
  5. Public Declare Function Inp Lib "inpout32.dll" Alias "Inp32" (ByVal PortAddress As Short) As Short
  6. Public Declare Sub Out Lib "inpout32.dll" Alias "Out32" (ByVal PortAddress As Short, ByVal Value As Short)
  7. End Module
DLL downlload links

Paste the INPOUT32.dll to C:\Windows\System\
Thanks and Enjoy!!! HAppy Coding!!!
Download Code: 
Sample Project
Facebook Fan Page


comments

No comments:

Post a Comment