Ver Mensaje Individual
  #2
Antiguo 28 de julio de 2018, 22:50
Kuk
Administrador
Última Actividad 21.09.2026 18:24
Posts Posts: 2.500
Likes enviados Enviados: 1037
Likes recibidos Recibidos: 1207

drvedia1981, aquí tienes el ejemplo del primer CALL:

Código COBOL:
  1.  WORKING-STORAGE SECTION.
  2.  01  PTR-comPort                         POINTER.
  3.  01  PTR-comPort-N REDEFINES PTR-comPort PIC S9(9) COMP-5.
  4.  
  5.  PROCEDURE DIVISION.
  6.  
  7.      CALL "SetDeviceName" WITH STDCALL USING BY REFERENCE PTR-comPort-N
  8.                                              BY CONTENT "COM2"
  9.      
  10.      
No te olvides de mapear las funciones en COBOL85.CBR: [Aporte] CALL de cualquier DLL sin *.LIB ni "LoadLibrary" - COBOL Foro



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