Página 1 de 1

FindWindow

Publicado: Mié Ene 31, 2007 1:22 am
por Capsol Coder
G'day xailer
When compiling older code, I'm getting this error.
Error: Unresolved external '_HB_FUN_FINDWINDOW' referenced from
X:PROJECTSCAPSYNC2OBJCAPSYNC.OBJ
What is the xailer equivelent to FindWindow in the Win API.
Regards,
Leigh.

FindWindow

Publicado: Mié Ene 31, 2007 10:36 am
por jfgimenez
Capsol,
> What is the xailer equivelent to FindWindow in the Win API.
Try this 'wrapper' (written on the fly). Place this code in any of your
..prg:
//-----------------------------------------------
#pragma BEGINDUMP
#include "windows.h"
#include "xailer.h"
XA_FUNC( FINDWINDOW )
{
hb_retnl( (long) FindWindow( hb_parc( 1 ), hb_parc( 2 ) ) );
}
#pragma ENDDUMP
//-----------------------------------------------
--
Regards,
Jose F. Gimenez
http://www.xailer.com
http://www.xailer.info