Jump to content
Fivewin Brasil

Programa exemplo de cupom Daruma


coiote

Recommended Posts

Qual erro de sintaxe há nestas linhas compiladas com:

Buildh Cupom3

cupom3(684) Syntax error E0030

// Controle da Porta

DLL32 FUNCTION Daruma_Registry_ControlePorta( ControlePorta AS STRING ) AS LONG PASCAL;

FROM "Daruma_Registry_ControlePorta" LIB 'Daruma32.dll'

O mesmo erro se repete em várias linhas seguintes.

Link to comment
Share on other sites

Qual erro de sintaxe há nestas linhas compiladas com:

Buildh Cupom3

cupom3(684) Syntax error E0030

// Controle da Porta

DLL32 FUNCTION Daruma_Registry_ControlePorta( ControlePorta AS STRING ) AS LONG PASCAL;

FROM "Daruma_Registry_ControlePorta" LIB 'Daruma32.dll'

O mesmo erro se repete em várias linhas seguintes.

Link to comment
Share on other sites

Tente assim:


nLib32 := LoadLib32("Daruma32.DLL")

// Controle da Porta

DLL32 FUNCTION Daruma_Registry_ControlePorta( ControlePorta AS STRING ) AS LONG PASCAL;

FROM "Daruma_Registry_ControlePorta" LIB nLib32

// Fecha porta serial

DLL32 function DARUMA_FECHAR_SERIAL( ); //-- Samir 7/10/2009

AS _INT PASCAL FROM "Daruma_FI_FechaPortaSerial";

LIB nLib32

id=code>id=code>

MSN: samirabreu@hotmail.comid=black>

Skype: Samirid=red>Abreuid=black>

xHarbour 1.1.0 + FwXh 8.02

Link to comment
Share on other sites

citação:

Olá Samir.

Não funcionou. Deu ambiguous reference. Então mandei o prg para o seu email. Se você puder dar uma compilada poderá ver o erro acontecendo e ficará mais fácil me ajudar.

Eu agradeço muito por qualquer idéia que você tiver.


id=quote>id=quote>


nLib32 := LoadLib32("Daruma32.DLL")

// Controle da Porta

DLL32 FUNCTION Daruma_Registry_ControlePorta( ControlePorta AS STRING );

AS LONG PASCAL FROM "Daruma_Registry_ControlePorta";

LIB nLib32

// Fecha porta serial

DLL32 function DARUMA_FECHAR_SERIAL( ); //-- Samir 7/10/2009

AS _INT PASCAL FROM "Daruma_FI_FechaPortaSerial";

LIB nLib32

id=code>id=code>

MSN: samirabreu@hotmail.comid=black>

Skype: Samirid=red>Abreuid=black>

xHarbour 1.1.0 + FwXh 8.02

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...