Gracias Kuk y Rui voy a probar y despues cuento como me fue
---------- Post añadido : 13:29 ---------- Post anterior : 13:24 ----------
Funciona de las dos maneras Gracias Kuk y Rui
Código COBOL:
CALL FUNC WITH STDCALL USING BY REFERENCE CODIGO-CmImpresor returning CODIGO-CmImpresor.
CALL FUNC WITH STDCALL RETURNING CODIGO-CmImpresor.