Error: Unresolved external '_HB_FUN___CLSLOCKDEF'What is this?
EMG
Error: Unresolved external '_HB_FUN___CLSLOCKDEF'Enrico,
It seems as you are not using the right Harbour libraries as such function is defined in classes.c and classes.obj belongs to hbrtl.lib
Please edit (with an ascii viewer, I use Total Commander) hbrtl.lib and look for CLSLOCKDEF inside it
Thank you, fixed.
One more problem: a console pops up when I run my EXEs. How to get rid of it?
EMG
Enrico,
Are you using the flag -aa when linking ?
Antonio,
yes.
EMG
EXTEND CLASS TControl WITH DATA lSel#include "Fivewin.ch"
FUNCTION MAIN()
  MEMOWRIT( "testà ", "" )
  ? COPYFILE( "testà ", "testb" )
  RETURN NILEnrico Maria Giordano wrote:One more problem: a console pops up when I run my EXEs. How to get rid of it?
Error: Unresolved external '_HB_FUN_HB_GT_WIN' referenced from E:\HARBOUR\LIB\HBRTL.LIB|gtsysEnrico,
__clsAddMsg( hClass, "NewData" , 1, HB_OO_MSG_ACCESS )
__clsAddMsg( hClass, "_NewData" , 1, HB_OO_MSG_ASSIGN )
Please review tclass.prg from harbour source code
Antonio Linares wrote:Enrico,
__clsAddMsg( hClass, "NewData" , 1, HB_OO_MSG_ACCESS )
__clsAddMsg( hClass, "_NewData" , 1, HB_OO_MSG_ASSIGN )
Please review tclass.prg from harbour source code
Any solutions for CopyFile() problem? It looks like something unicode related...
EMG
And, by the way, I'm still unable to get a working application with Harbour... ![]()
EMG
Antonio Linares wrote: __clsAddMsg( hClass, "NewData" , 1, HB_OO_MSG_ACCESS )
__clsAddMsg( hClass, "_NewData" , 1, HB_OO_MSG_ASSIGN )
Enrico,
hClass is the handle of a Class, you can access it this way:
TAnyClass():hClass
or directly from an existing object:
oObject:hClass