Boa noite pessoal...
Public Declare Function ContinuaFuncaoSiTefInterativo Lib "CliSiTef32I.dll" (ByRef comando As Integer, ByRef tipoCampo As Integer, ByRef TamMin As Integer, ByRef TamMax As Integer, ByVal Buffer As Byte(), ByVal TamBuffer As Integer, ByVal Continua As Integer) As Integer
Dim Buffer As Byte() = New Byte(20000) {}
Result = ContinuaFuncaoSiTefInterativo(ProximoComando, TipoCampo, TamanhoMinimo, TamanhoMaximo, Buffer, Buffer.Length, Continua)
Estou apanhando em como tratar o Buffer retornado. Está retornando assim:
(0) 49
(1) 58
(2) 67
(3) 97
(4) 114
(5) 116
(6) 97
(7) 111
(8) 32
(9) 100
(10) 101
(11) 32
(12) 68
(13) 101
(14) 98
Não compreendi o que devo fazer... os números retornados são códigos de mensagens? Se sim onde está esta lista.
Devo tratar somente o primeiro? Desde já agradeço a ajuda.
Abraço
Rodrigo Marchese rodrigomarchese@msn.com