Ver Mensaje Individual
  #2
Antiguo 23 de noviembre de 2017, 18:31
Kuk
Administrador
Última Actividad 21.09.2026 18:24
Posts Posts: 2.500
Likes enviados Enviados: 1037
Likes recibidos Recibidos: 1207

drvedia1981, en el fichero COBOL85.CBR pones:

Código:
[MainForm.Entry]
ConfiguraTaxaSerial=InterfaceEpsonNF.dll
En tu programa haces:

Código COBOL:
  1.  WORKING-STORAGE SECTION.
  2.  01  RESP       PIC S9(9) COMP-5.
  3.  01  NPORT      PIC S9(9) COMP-5.
  4.  01  FUNC       PIC X(50) VALUE "ConfiguraTaxaSerial".
  5.  PROCEDURE DIVISION.
  6.      
  7.      MOVE 19200 TO NPORT      
  8.  
  9.      CALL FUNC WITH STDCALL USING BY VALUE NPORT RETURNING RESP



NORMAS DEL FORO - para garantizar el buen funcionamiento del Foro.
¿Te han ayudado? NO TE OLVIDES de darle a
¿Quieres dirigirte a alguien en tu post? Notifícale haciendo clic en su Nick
Kuk is offline   Responder Con Cita