Page 1 of 1

What is the harbour syntax/flags to recompile classes prg ?

Posted: Wed Feb 15, 2006 6:30 pm
by tnhoe
What is the correct syntax/flags to compile classes prg ?

I try recompile a modified tget.prg and get following errors.

From buildh.bat in \FWH21\samples\ :-

%hdir%\bin\harbour %1 /n /m /i..\include;%hdir%\include /p %2 %3 > clip.log


Giving errors on all 'METHODS' command in prg :-


*-------------------------------------------------------------
Compiling...
Harbour Compiler Alpha build 43.0 (Flex)
Copyright 1999-2003, http://www.harbour-project.org/
Compiling 'tget.prg' and generating preprocessed output to 'tget.ppo'...

tget.prg(54) Error E0030 Syntax error: "parse error at '\'"
tget.prg(60) Error E0030 Syntax error: "parse error at '\'"
:
:
:
*--------------------------------------------------------------

Posted: Wed Feb 15, 2006 7:29 pm
by tnhoe
and which harbour/fivewin libs should include for these functions :-

OBJNEWCLS
OBJADDMET
OBJSETUSERDATA
OBJCLSINS

?

Posted: Wed Feb 15, 2006 9:02 pm
by Antonio Linares
Hoe,

It looks as you are not using the right FWH objects.ch file.