Attribute VB_Name = "Module1"
'Declaração das funções (tem que ser no módulo)
Declare Function AttachScale Lib "c:\trabalho\cbuilder\pcscale\exemplos\vb5\PcScale.dll" (ByRef Handle As Long, ByVal COM As Long, ByVal BaudRate As Long, ByVal ByteSize As Long, ByVal StopBits As Long, ByVal Parity As Long) As Long
Declare Function ReadScale Lib "c:\trabalho\cbuilder\pcscale\exemplos\vb5\PcScale.dll" (ByRef Handle As Long, ByVal Indicator As Long, ByVal Gross As String, ByVal Tare As String, ByVal Net As String, ByVal Unitd As String) As Long
Declare Sub DettachScale Lib "c:\trabalho\cbuilder\pcscale\exemplos\vb5\PcScale.dll" (ByRef Handle As Long)

