Jump to content
Fivewin Brasil

Função Status_Mp20Fi() da BEMATECH


ecmsoft

Recommended Posts

ecmsoft@uol.com.br

Quando utilizo esta função com a DLL da BEMATECH, dá pau. As outras funções estão Ok.

exemplo:

hMP20FI32:=LOADLIB32("MP20FI32.DLL")

retorno:=ack:=st1:=st2:=0

IniPortaStr("COM1")

Status_Mp20fI(@Retorno,@Ack,@St1,@St2)

FechaPorta()

FREELIB32(hMP20FI32)

DLL32 FUNCTION Status_Mp20FI(Retorno AS _INT, Ack AS _INT, St1 AS _INT, St2 AS _INT) AS _INT PASCAL LIB hMP20FI32

O erro é o seguinte:

FIVEWIN causou uma falha de página inválida no

módulo MP20FI32.DLL em 017f:10008e4c.

Registros:

EAX=00000006 CS=017f EIP=10008e4c EFLGS=00010202

EBX=80a5ed60 SS=0187 ESP=80a5ed00 EBP=80a5ed0c

ECX=08ad6db6 DS=0187 ESI=00006744 FS=4e2f

EDX=00006760 ES=0187 EDI=80a5ed14 GS=3af7

Bytes em CS:EIP:

66 89 01 a1 68 58 01 10 8b 4d 10 66 89 01 a1 6c

Esvaziamento da pilha:

80a5ed14 00006744 80a5ed60 80a5ed2c bff7363b 67686786 08ad6db6 00000000 00000000 671e3af7 00000187 80a5ed40 bff94407 3af76744 00003af7 00000000

Editado por - ecmsoft on 04/08/2002 22:42:13

Editado por - ecmsoft on 04/08/2002 23:43:32

Link to comment
Share on other sites

Olá,

Verifique os tipos dos parametros da função, algumas vezes não funciona com os parametros padrões

citação:

ecmsoft@uol.com.br

Quando utilizo esta função com a DLL da BEMATECH, dá pau. As outras funções estão Ok.

exemplo:

hMP20FI32:=LOADLIB32("MP20FI32.DLL")

retorno:=ack:=st1:=st2:=0

IniPortaStr("COM1")

Status_Mp20fI(@Retorno,@Ack,@St1,@St2)

FechaPorta()

FREELIB32(hMP20FI32)

DLL32 FUNCTION Status_Mp20FI(Retorno AS _INT, Ack AS _INT, St1 AS _INT, St2 AS _INT) AS _INT PASCAL LIB hMP20FI32

O erro é o seguinte:

FIVEWIN causou uma falha de página inválida no

módulo MP20FI32.DLL em 017f:10008e4c.

Registros:

EAX=00000006 CS=017f EIP=10008e4c EFLGS=00010202

EBX=80a5ed60 SS=0187 ESP=80a5ed00 EBP=80a5ed0c

ECX=08ad6db6 DS=0187 ESI=00006744 FS=4e2f

EDX=00006760 ES=0187 EDI=80a5ed14 GS=3af7

Bytes em CS:EIP:

66 89 01 a1 68 58 01 10 8b 4d 10 66 89 01 a1 6c

Esvaziamento da pilha:

80a5ed14 00006744 80a5ed60 80a5ed2c bff7363b 67686786 08ad6db6 00000000 00000000 671e3af7 00000187 80a5ed40 bff94407 3af76744 00003af7 00000000

Editado por - ecmsoft on 04/08/2002 22:42:13

Editado por - ecmsoft on 04/08/2002 23:43:32


id=quote>id=quote>
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...