Antonio Linares wrote:Enrico,
https://github.com/harbour/core/tree/master
Now you have Harbour full source code
Antonio Linares wrote: __clsAddMsg( hClass, "NewData" , 1, HB_OO_MSG_ACCESS )
__clsAddMsg( hClass, "_NewData" , 1, HB_OO_MSG_ASSIGN )
__clsAddMsg( hClass, "hClass" , 1, HB_OO_MSG_ACCESS )
__clsAddMsg( hClass, "_hClass" , 1, HB_OO_MSG_ASSIGN )
__clsAddMsg( hClass, "aDatas" , 3, HB_OO_MSG_ACCESS )
__clsAddMsg( hClass, "_aDatas" , 3, HB_OO_MSG_ASSIGN )
__clsAddMsg( hClass, "AddData" , @AddData() , HB_OO_MSG_METHOD )
Antonio Linares wrote:Enrico,
hClass is the handle of a Class, you can access it this way:
TAnyClass():hClass
or directly from an existing object:
oObject:hClass
Antonio Linares wrote:Are you using FWH CopyFile() ?
Antonio Linares wrote:Why can't you use Harbour ? What else is missing ?
? TControl():hClass
Error BASE/1004 Message not found: TCONTROL:HCLASS
Enrico Maria Giordano wrote:One more problem: a console pops up when I run my EXEs. How to get rid of it?
REQUEST HB_GT_GUI_DEFAULT
MEMOLINE( cRes, 1024, 1, , .F., .T., @nPos )
FUNCTION MAIN()
LOCAL cTxt := "This is a test" + CHR( 13 ) + CHR( 10 ) + "This is another test"
LOCAL nLines
LOCAL nPos := 1
LOCAL i
nLines = MLCOUNT( cTxt, 1024, , .F., .T. )
? "Lines: " + LTRIM( STR( nLines ) )
?
FOR i = 1 TO nLines
? ALLTRIM( MEMOLINE( cTxt, 1024, 1, , .F., .T., @nPos ) )
NEXT
INKEY( 0 )
RETURN NIL
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: No registered users and 55 guests