erro ao compilar com letodb
Enviado: 16 Mai 2023 19:26
Boa Noite
Error: Unresolved external 'WSAIoctl' referenced from C:\MINIGUI\HARBOUR\LIB\HBRTL.LIB|hbsocket
o aplicativo es este:
* a snippet to show the basic structure of an application using LetoDBf */
REQUEST LETO
/* by using 'letodb.hbc', example: hbmk2 basic.prg letodb.hbc
* this will automatic include rdddleto.ch */
#include "rddleto.ch"
PROCEDURE main( cAddress ) /* pure IP-address */
//SET DEFAULT TO data
//SET PATH TO system;tmp
SET( _SET_DATEFORMAT, "dd.mm.yyyy" )
HB_CDPselect( "DE850" )
IF Empty( cAddress )
cAddress := "//192.168.1.20:2812/"
ELSE
cAddress := "//" + cAddress + IIF( ":" $ cAddress, "", ":2812" )
cAddress += IIF( Right( cAddress, 1 ) == "/", "", "/" )
ENDIF
IF leto_Connect( cAddress ) < 0
ALERT( "NO LETODB SERVER FOUND - ERROR: " + leto_Connect_Err( .T. ) )
QUIT
ELSE
// RDDSETDEFAULT( "LETO" ) /* automatic set by: REQUEST LETO */
// LETO_DBDRIVER( "DBFCDX" ) /* to choose your DBF driver independent of the server default */
LETO_TOGGLEZIP( 1 ) /* switch compressed network traffic */
ENDIF
// DbUseArea( .T., /* "LETO" */, "test", "TEST", .T. )
// ...
/* no special logout needed, all is automically done */
RETURN
Alguem pode me Ajudar.
Error: Unresolved external 'WSAIoctl' referenced from C:\MINIGUI\HARBOUR\LIB\HBRTL.LIB|hbsocket
o aplicativo es este:
* a snippet to show the basic structure of an application using LetoDBf */
REQUEST LETO
/* by using 'letodb.hbc', example: hbmk2 basic.prg letodb.hbc
* this will automatic include rdddleto.ch */
#include "rddleto.ch"
PROCEDURE main( cAddress ) /* pure IP-address */
//SET DEFAULT TO data
//SET PATH TO system;tmp
SET( _SET_DATEFORMAT, "dd.mm.yyyy" )
HB_CDPselect( "DE850" )
IF Empty( cAddress )
cAddress := "//192.168.1.20:2812/"
ELSE
cAddress := "//" + cAddress + IIF( ":" $ cAddress, "", ":2812" )
cAddress += IIF( Right( cAddress, 1 ) == "/", "", "/" )
ENDIF
IF leto_Connect( cAddress ) < 0
ALERT( "NO LETODB SERVER FOUND - ERROR: " + leto_Connect_Err( .T. ) )
QUIT
ELSE
// RDDSETDEFAULT( "LETO" ) /* automatic set by: REQUEST LETO */
// LETO_DBDRIVER( "DBFCDX" ) /* to choose your DBF driver independent of the server default */
LETO_TOGGLEZIP( 1 ) /* switch compressed network traffic */
ENDIF
// DbUseArea( .T., /* "LETO" */, "test", "TEST", .T. )
// ...
/* no special logout needed, all is automically done */
RETURN
Alguem pode me Ajudar.