Hola
KUK tengo problemas con estos metodos que me devuelven ningun valor y me parece que el problema es que estan mal implementadas :
Por ejemplo el metodo
Código:
getPrinterStatus
Prototype:
int getPrinterStatus( void )
Inputs:
Nothing.
Outputs:
Nothing.
Returns:
Only the least significant 16 bits are valid.
yo llamandola asi
Código COBOL:
move "getPrinterStatus" TO FUNC.
CALL FUNC WITH STDCALL USING BY REFERENCE CODIGO-CmImpresor.
MOVE CODIGO-CmImpresor TO "Text" OF CmImpresor.
Pero siempre me da zero cuando me deberia dar algun valor por ejemplo cuando se abre la tapa del impresor o falta papel
Desde ya muchas gracias