Page 1 of 1

DLL32 Conversion de LPINT

PostPosted: Thu Feb 23, 2006 12:58 am
by jnavas
Colegas,
Tengo una Dll de la impresora Fiscal BMC

La funcion esta documentada asi:

BOOL SendCmd(LPINT status, LPINT error, LPCSTR cmd)

Necesito conversion FWH.
Las demás funciones si corren cambiando LPCSTR por LPSTR

PostPosted: Thu Feb 23, 2006 10:19 am
by Antonio Linares
Juan,

Prueba con:

nError = 0

SendCmd( ..., @nError, ... )

y decláralo como nError AS PTR en el comando DLL FUNCTION ...