Why to do the same thing on wiki, if could be updated on Harbour?
Are you looking existing one?
I do not understand why people like to do things outside Harbour, duplicating what exists on Harbour, besides update on it.
José M. C. Quintas--
--
You received this message because you are subscribed to the Google
Groups "Harbour Users" group.
Unsubscribe: harbour-user...@googlegroups.com
Web: http://groups.google.com/group/harbour-users
---
You received this message because you are subscribed to the Google Groups "Harbour Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to harbour-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/harbour-users/ffb6bbda-66f9-40a8-a8a3-2cdf2b59a4f4%40googlegroups.com.
You received this message because you are subscribed to a topic in the Google Groups "Harbour Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/harbour-users/i9ivaIWxsI8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to harbour-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/harbour-users/79935558-4872-8654-868c-06671fccb8be%40gmail.com.
Harbour reference guides.
To view this discussion on the web visit https://groups.google.com/d/msgid/harbour-users/CANAUezDumoMCmksYZEuf_Vuc6Mb%2BKvNhDEg3UeoZTaAVTpWx_g%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/harbour-users/b8c6e866-0ea4-8515-b058-93453e5d9cfe%40gmail.com.
All Harbour documentation is inside github project, anybody can update, anybody can download, anybody can insert on a IDE, or create an off-line application using the documentation.
Harbour reference is updated automatically after each commit.
May be I am wrong, and wiki will be allways updated.José M. C. Quintas
To view this discussion on the web visit https://groups.google.com/d/msgid/harbour-users/CADPHLr9wYzjRT7txE5pPw2z4ZwRuffPt%3Dd-T9trnLrEYbUL_6w%40mail.gmail.com.
In https://github.com/Petewg/harbour-core I find functions that I cannot find in https://harbour.github.io/doc/harbour.html
Example:
hb_cSTR()
Unsubscribe: harbou...@googlegroups.com
Web: http://groups.google.com/group/harbour-users
---
You received this message because you are subscribed to the Google Groups "Harbour Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to harbou...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/harbour-users/ffb6bbda-66f9-40a8-a8a3-2cdf2b59a4f4%40googlegroups.com.
--
--
You received this message because you are subscribed to the Google
Groups "Harbour Users" group.
Unsubscribe: harbou...@googlegroups.com
Web: http://groups.google.com/group/harbour-users
---
You received this message because you are subscribed to a topic in the Google Groups "Harbour Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/harbour-users/i9ivaIWxsI8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to harbou...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/harbour-users/79935558-4872-8654-868c-06671fccb8be%40gmail.com.
--
Antonio Linares--
www.fivetechsoft.com
--
You received this message because you are subscribed to the Google
Groups "Harbour Users" group.
Unsubscribe: harbou...@googlegroups.com
Web: http://groups.google.com/group/harbour-users
---
You received this message because you are subscribed to the Google Groups "Harbour Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to harbou...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/harbour-users/CANAUezDumoMCmksYZEuf_Vuc6Mb%2BKvNhDEg3UeoZTaAVTpWx_g%40mail.gmail.com.
--
--
You received this message because you are subscribed to the Google
Groups "Harbour Users" group.
Unsubscribe: harbou...@googlegroups.com
Web: http://groups.google.com/group/harbour-users
---
You received this message because you are subscribed to the Google Groups "Harbour Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to harbou...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/harbour-users/b8c6e866-0ea4-8515-b058-93453e5d9cfe%40gmail.com.
--
--
You received this message because you are subscribed to the Google
Groups "Harbour Users" group.
Unsubscribe: harbou...@googlegroups.com
Web: http://groups.google.com/group/harbour-users
---
You received this message because you are subscribed to the Google Groups "Harbour Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to harbou...@googlegroups.com.
All data come from txt files, txt files are like database with records.
These files already exists since too many years ago, Viktor make use of them.
The only thing to do is update the files, and/or create new ones, for new functions/librarys
https://github.com/vszakats/harbour-core/tree/master/doc/en
And is not limited to english, gtwvw have two languages:
https://github.com/vszakats/harbour-core/tree/master/contrib/gtwvw/doc/en
https://github.com/vszakats/harbour-core/tree/master/contrib/gtwvw/doc/pt_BR

An extra explanation here:
Harbour tools are available for all, they are not exclusive of
Harbour !!!
If create these files for fivewin, hmg3, hmg extended, oohg, and
others, they will be available on docs too !!!
hbmk2 -find
tips on hbmk2
automatic translation to another languages
automatic creation of distribution pack on github
and many other features
This includes use of hbmk2 on XHarbour, and all features becomes available to xHarbour too !!!!
No more BATS to Xharbour or to libraries !!!!
Seems nobody understand that this is possible, that all configuration to do this is inside Harbour git download.
Documentation is one of the features available, but there are
more features than this one.
Unsubscribe: harbour-user...@googlegroups.com
Web: http://groups.google.com/group/harbour-users
---
You received this message because you are subscribed to the Google Groups "Harbour Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to harbour-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/harbour-users/7ca04bbc-c425-4142-85a4-6cc95f722fae%40googlegroups.com.
>This includes use of hbmk2 on XHarbour, and all features becomes available to xHarbour too !!!!
>No more BATS to Xharbour or to libraries !!!!
>Seems nobody understand that this is possible, that all configuration to do this is inside Harbour git download.
Important:
SET HB_INSTALL_PREFIX=folder of harbour or xharbour
need a copy of HBMK2.EXE on xharbour\bin folder
on xHarbour need to add -xhb to parameters. this not not the
library (-lxhb) and not the hbc (xhb.hbc)
mingw libraries default is libxxx.a, I see some libraries using .lib to mingw.
A sample way is a list of prg files: (remember SET HB_INSTALL_PREFIX and hbmk2.exe on xharbour\bin folder)
on Harbour: hbmk2 *.prg
on XHarbour: hbmk2 -xhb *.prg
because will be first time of xHarbour, and xHarbour use different folders, automatic mode will not work, then you can use another feature: a hbmk.hbc on xharbour\bin folder (after tests, if you want, you can reorganize xharbour files to a automatic mode)
This will be the "global" default, to all projects,
xharbour\bin\hbmk.hbc and harbour\bin\hbmk.hbc
libpaths=(if not automatic)
incpaths=(if not automatic)
libs=(if not automatic)
headers=(ch files to be used, if not automatic)
On the project hbp file you can add specific parameters too:
{xhb}any to xharbour
{!xhb}any to harbour
On command line, if not automatic, or not found HB_COMPILER, or
specific use, you can add compiler definition: -comp=mingw
With these ones you can make a test.
For a full use, there are many others features to automatize each
part of the project/group of projects
José M. C. Quintas
--
--
You received this message because you are subscribed to the Google
Groups "Harbour Users" group.
Unsubscribe: harbour-user...@googlegroups.com
Web: http://groups.google.com/group/harbour-users
---
You received this message because you are subscribed to the Google Groups "Harbour Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to harbour-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/harbour-users/b8f06d28-9643-47b7-8259-9fa8083087aa%40googlegroups.com.
What's wrong with xHarbour's hbmake? hbmake -e is handy and works
great for me.
--
--
You received this message because you are subscribed to the Google
Groups "Harbour Users" group.
Unsubscribe: harbour-user...@googlegroups.com
Web: http://groups.google.com/group/harbour-users
---
You received this message because you are subscribed to the Google Groups "Harbour Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to harbour-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/harbour-users/b8f06d28-9643-47b7-8259-9fa8083087aa%40googlegroups.com.
-- Informativa sulla privacy disponibile all'URL http://www.appliserver.com/privacy.html
Important:
SET HB_INSTALL_PREFIX=folder of harbour or xharbour
need a copy of HBMK2.EXE on xharbour\bin folder
on xHarbour need to add -xhb to parameters. this not not the library (-lxhb) and not the hbc (xhb.hbc)
mingw libraries default is libxxx.a, I see some libraries using .lib to mingw.
A sample way is a list of prg files: (remember SET HB_INSTALL_PREFIX and hbmk2.exe on xharbour\bin folder)
on Harbour: hbmk2 *.prg
on XHarbour: hbmk2 -xhb *.prg
because will be first time of xHarbour, and xHarbour use different folders, automatic mode will not work, then you can use another feature: a hbmk.hbc on xharbour\bin folder (after tests, if you want, you can reorganize xharbour files to a automatic mode)
This will be the "global" default, to all projects, xharbour\bin\hbmk.hbc and harbour\bin\hbmk.hbc
libpaths=(if not automatic)
incpaths=(if not automatic)
libs=(if not automatic)
headers=(ch files to be used, if not automatic)
On the project hbp file you can add specific parameters too:
{xhb}any to xharbour
{!xhb}any to harbour
On command line, if not automatic, or not found HB_COMPILER, or specific use, you can add compiler definition: -comp=mingw
With these ones you can make a test.
For a full use, there are many others features to automatize each part of the project/group of projects
José M. C. Quintas
What's wrong with xHarbour's hbmake? hbmake -e is handy and works great for me.
Dan
What about this?
hbmk2 test
C:/Users/jmcqu/AppData/Local/Temp/hbmk_k8pttu.dir/test.o:test.c:(.data+0x58):
undefined reference to `HB_FUN_WIN_OLECREATEOBJECT'
C:/Users/jmcqu/AppData/Local/Temp/hbmk_k8pttu.dir/test.o:test.c:(.data+0x68):
undefined reference to `HB_FUN_BT_REGIONCOMBINE'
c
hbmk2: Hint: Install package bostaurus and input file
'bostaurus.hbc' for
missing Harbour function(s): bt_regioncombine()
hbmk2: Hint: Install package hmg3_core and input file
'addons\hmg3\hmg3_core.hbc' for missing Harbour
function(s):
bt_regioncombine()
hbmk2: Hint: Install package oohg_bostaurus and input file
'addons\oohg\oohg_bostaurus.hbc' for missing Harbour
function(s):
bt_regioncombine()
hbmk2: Hint: Add input file 'hbwin.hbc' for missing Harbour
function(s):
win_oleCreateObject()
win_OleCreateObject() is part of hbwin
bt_regioncombine() can be of bostaurus, HMG 3, OOHG
Only another feature on compile/link, not limited to Harbour functions.
(I create the libraries using hbmk2 and the feature hbx)
José M. C. Quintas
--
--
You received this message because you are subscribed to the Google
Groups "Harbour Users" group.
Unsubscribe: harbour-user...@googlegroups.com
Web: http://groups.google.com/group/harbour-users
---
You received this message because you are subscribed to the Google Groups "Harbour Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to harbour-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/harbour-users/858e6f81-b6c5-4b58-bbed-e965a6a0d7f3%40googlegroups.com.
Hi Jose:
***** bldxh74.bat *****
You can create a HBP file with all the command line parameters,
and/or a list of prg, c, rc files
HBP - to project
HBC - to a group/library definition
\xharbour\bin\hbmk.hbc - a global definition to all projects
hbmk.hbc on folder - to a folder definition
library.hbc on a library folder - to a library definition
Examples:
You can create a hbc file to hwgui, other to hmg, other to oohg,
and on project you add a line: hwgui.hbc as example
You can create a xharbour\bin\hbmk.hbc to define compress, work
directory, basic default libraries to all projects
on HBP you include only specific part of the project: prg, c, rc, icon
an option is hbmk2 *.prg -omyapp
full help: hbmk2 -longhelp
Today I made some tests using more features of hbmk2 over
XHarbour.
Create a intermediary bat, to do not need allways add -xhb, without lost the feature of -find
---hbmk2.bat---
@echo off
if "%1" == "-find" goto :find
xhbmk2 -xhb %*
goto :fim
:find
xhbmk2 %*
:fim
I made a test with XHarbour, using few options of hbmk2, and write
here, site uses portuguese-brasilian but it have a icon to
translate to english on the top of the page.
http://www.pctoledo.com.br/forum/viewtopic.php?f=43&t=23156
José M. C. Quintas
--
--
You received this message because you are subscribed to the Google
Groups "Harbour Users" group.
Unsubscribe: harbour-user...@googlegroups.com
Web: http://groups.google.com/group/harbour-users
---
You received this message because you are subscribed to the Google Groups "Harbour Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to harbour-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/harbour-users/f1db52e1-e3fe-4320-b870-4c64f25bbff9%40googlegroups.com.
Unsubscribe: harbou...@googlegroups.com
Web: http://groups.google.com/group/harbour-users
---
You received this message because you are subscribed to the Google Groups "Harbour Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to harbou...@googlegroups.com.
At momment only a quick reference when use: hbmk2 -longhelp
To test hmk2:
1) test on command line
hbmk2 file1.prg file2.prg file3.prg file4.c file5.rc file6.ico -w3 -es2 -m -n -omyexe.exe
Using this option, you solve any compilation
2) To reduce the command line
create an hbp file, and insert parameters on it. may be one per line, 2, 3, several, all
Using this option, you solve any compilation
3) If you use a library
project1.hbp test1.prg -lfivewin.lib -Lfivewin/lib -ifivewin.ch
-Ifivewin/include -gui
project2.hbp test2.prg -lfivewin.lib -Lfivewin/lib -ifivewin.ch -Ifivewin/include -gui
project3.hbp test3.prg -lfivewin.lib -Lfivewin/lib -ifivewin.ch -Ifivewin/include -gui
Same parameters to fivewin, 5 parameters on all projects.
Better to use a hbc: fivewin.hbc libpaths=fivewin/lib incpaths=fivewin/include libs=fivewin headers=fivewin.ch gui=yes
Now, on projects you can use:
project1.hbp test1.prg fivewin.hbc
project2.hbp test2.prg fivewin.hbc
project3.hbp test3.prg fivewin.hbc
Using this option you reduce your hbp content, and organize
libraries
this file is used to find function names (hbmk2 -find name), when linking hbmk2 uses the name to help about what to link, to use hbmk2 function to adjust case of function names, to make the library available as DLL
Using this option you will have additional features
dir *.prg /b > myapp.hbp
dir *.c /b >> myapp.hbp
dir *.rc /b >> myapp.hbc
First step is to use hbmk2 and hbp file
Next step is to know about each feature, and test what you can
use to make the work easy/better.
José M. C. Quintas
Unsubscribe: harbour-user...@googlegroups.com
Web: http://groups.google.com/group/harbour-users
---
You received this message because you are subscribed to the Google Groups "Harbour Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to harbour-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/harbour-users/acc79037-37b8-4156-b473-b4d87fb44232%40googlegroups.com.
hbmk2 is using the feature of po files, it is available on hbmk2.
Change language and see result:
SET HB_LANG=XX
HBMK2
Available EL, EN, ES, ES_419, FR, GL, HU, IT, pt_BR
https://github.com/vszakats/harbour-core/tree/master/utils/hbmk2/po
José M. C. Quintas
Unsubscribe: harbour-user...@googlegroups.com
Web: http://groups.google.com/group/harbour-users
---
You received this message because you are subscribed to the Google Groups "Harbour Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to harbour-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/harbour-users/acc79037-37b8-4156-b473-b4d87fb44232%40googlegroups.com.
update a info:
SET HBMK_OPTIONS=-xhb
SET HB_INSTALL_PREFIX=\xharbour\bin
Using this setup hbmk2 uses external harbour.exe defined on HB_INSTALL_PREFIX
default is: hbmk2 do not needs harbour.exe
Unsubscribe: harbour-user...@googlegroups.com
Web: http://groups.google.com/group/harbour-users
---
You received this message because you are subscribed to the Google Groups "Harbour Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to harbour-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/harbour-users/acc79037-37b8-4156-b473-b4d87fb44232%40googlegroups.com.
Unsubscribe: harbour-users+unsubscribe@googlegroups.com
Web: http://groups.google.com/group/harbour-users
---
You received this message because you are subscribed to the Google Groups "Harbour Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to harbour-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/harbour-users/acc79037-37b8-4156-b473-b4d87fb44232%40googlegroups.com.
Good to know.
I found document about hbmk2.
https://github.com/vszakats/harbour-core/tree/master/utils/hbmk2/docClick on the file of your prefered language.
José M. C. Quintas
Unsubscribe: harbour-user...@googlegroups.com
Web: http://groups.google.com/group/harbour-users
---
You received this message because you are subscribed to the Google Groups "Harbour Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to harbour-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/harbour-users/7b9d8c85-814b-4537-94e0-6e5bf223456e%40googlegroups.com.
>To test hmk2:
>1) test on command line
>hbmk2 file1.prg file2.prg file3.prg file4.c file5.rc file6.ico -w3 -es2 -m -n -omyexe.exe
>Using this option, you solve any compilation
However, my build failed when I placed -w3 -es2 -m -n in the .HBP File or on the Command line in my batch file ??
These options are *harbour* options and not hbmk2 options.
So, how do I pass 'harbour' options thru the hbmk2 executable so that Harbour accesses them please ?
(and do I really need them ?)
Thanks.
-Mel
Hi Jose:
Hi Mel,
Please include the following lines in your .hbp file:
-prgflag=/a /m /n /w2 /es0 /b
You may change the values as you prefer.
Warm regards,
Jayadev
--
--
You received this message because you are subscribed to the Google
Groups "Harbour Users" group.
Unsubscribe: harbour-user...@googlegroups.com
Web: http://groups.google.com/group/harbour-users
---
You received this message because you are subscribed to the Google Groups
"Harbour Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to harbour-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/harbour-users/22d7159b-4408-49a1-8927-e3780ae19ab8%40googlegroups.com.
Please include the following lines in your .hbp file:
-prgflag=/a /m /n /w2 /es0 /b
Path for libraries? / hbmk2 already on path / SET
HBMK_OPTIONS=-xhb
***** bldxh74.bat (batch file for building several apps in CGI folder) *****
cd \whohbmk2 who.hbp -rebuild /b -info -trace
Think this:
If you work with xharbour only, you can create a single file, or
setup on windows:
---setxhb.bat---
SET HBMK_OPTIONS=-xhb
SET HB_INSTALL_PREFIX=c:\xharbour\bin
SET PATH=c:\xharbour\bin;c:\borland\bcc74\bin
After this, you go to each folder and type:
hbmk2 *.hbp
No more bats to compile, only a batch to setup xharbour
José M. C. Quintas
I wonder if there is an option to force ilink32.exe to use a working directory that *I* can name (rather than the default one)???
[Jayadev]
Please use in your hbp file:
-workdir=e:\projectwip\VyapariS\
Warm regards,
Jayadev
--
--
You received this message because you are subscribed to the Google
Groups "Harbour Users" group.
Unsubscribe: harbour-user...@googlegroups.com
Web: http://groups.google.com/group/harbour-users
---
You received this message because you are subscribed to the Google Groups
"Harbour Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to harbour-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/harbour-users/634aab87-4765-4f8f-8479-00323a6c0446%40googlegroups.com.
I wonder if there is an option to force ilink32.exe to use a working directory that *I* can name (rather than the default one)???
[Jayadev]
Please use in your hbp file:
-workdir=e:\projectwip\VyapariS\
You need caution, but you can use one single folder.
set workdir=c:\temp
Caution is about more than one project using same file names.
I call a EXE before HBMK2: it checks if current folder is different than before, and delete all from c:\temp
IF ! Upper( cLastPath ) == Upper( hb_cwd() )
DeleteContent( "c:\temp", .F. )
In this way, no trash on folders, but incremental compilation
will be available only on current project.
José M. C. Quintas
To view this discussion on the web visit https://groups.google.com/d/msgid/harbour-users/003e01d54d47%24adc986a0%24095c93e0%24%40com.
You need caution, but you can use one single folder.
set workdir=c:\temp
Caution is about more than one project using same file names.
I call a EXE before HBMK2: it checks if current folder is different than before, and delete all from c:\temp
IF ! Upper( cLastPath ) == Upper( hb_cwd() )
DeleteContent( "c:\temp", .F. )In this way, no trash on folders, but incremental compilation will be available only on current project.