Ver Mensaje Individual
  #4
Antiguo 7 de septiembre de 2021, 10:26
Xavier
Forero Junior
Última Actividad 17.11.2021 12:04
Posts Posts: 24
Likes enviados Enviados: 13
Likes recibidos Recibidos: 3

Hola @FastPho, he copiado el ejemplo que me has mandado y al ejecutar la siguiente instrucción

Código COBOL:
  1.      invoke OLE-ARRAY    "NEW"                  using
  2.                       by reference VARIANT-TYPE
  3.                       by reference ARRAY-DIMENSION  
  4.                       by reference SafeArrayBound  
  5.                       returning Group1SafeArray.

me da el siguiente error


---------- Post añadido : 10:26 ---------- Post anterior : 10:19 ----------

Vaya, creo que no he insertado bien la imagen. Por si no se ve la imagen, aquí transcribo el mensaje de error:
Código:
"An error was detected during execution. See User program standar I/O. jmp0933I-U [PID:0000C48 TID:00001EB8] 
TYPE CONVERSION ERROR OCCURRED IN USING PARAMETER OF THE 'NEW' METHOD OF THE SPECIAL CLASS'*COM-ARRAY/*OLE-ARRAY". PARAMETER=3 PGM=A5_COBOL-LIBOF LINE 52.1"

Comentario de Moderador

Si le pones la ruta de la imagen en tu PC como "e:\Error en ejecución.png" no va a funcionar porque la WEB no tiene acceso a tu PC.
Tienes que subirla primero a algún host de imágenes o adjuntarla aquí en el foro.


Xavier is offline   Responder Con Cita