OutputDebugString(
Posted: Tue Sep 30, 2008 7:58 pm
Amigos Leyendo en http://codigo-base.blogspot.com/ hay un tema que dice Depurando en Windows
Y precisa que podemos invocar desde FW esta funcion del API
IF File( "test.txt" )
OutputDebugString( "El archivo existe" + hb_osnewline() )
ELSE
OutputDebugString( "El archivo no existe" + hb_osnewline() )
ENDIF
Al incluir esto en nuestro codigo fuente realmente no estaremos viendo nada, en primer lugar antes de ejecutar nuestro programa debemos tener en ejecucion dbwin32.exe, este programa se encarga de mostrar en pantalla la informacion pasada como parametro a la funcion
OutputDebugString().
CUando pongo esta fuincion me sale un error
UNRESOLVED EXTERNAL hb_fun_OutputDebugString
que LIB contiene el soporte a esta funcion del API
que deba poner en mi lnk.
Gracias
Y precisa que podemos invocar desde FW esta funcion del API
IF File( "test.txt" )
OutputDebugString( "El archivo existe" + hb_osnewline() )
ELSE
OutputDebugString( "El archivo no existe" + hb_osnewline() )
ENDIF
Al incluir esto en nuestro codigo fuente realmente no estaremos viendo nada, en primer lugar antes de ejecutar nuestro programa debemos tener en ejecucion dbwin32.exe, este programa se encarga de mostrar en pantalla la informacion pasada como parametro a la funcion
OutputDebugString().
CUando pongo esta fuincion me sale un error
UNRESOLVED EXTERNAL hb_fun_OutputDebugString
que LIB contiene el soporte a esta funcion del API
que deba poner en mi lnk.
Gracias