I want to be a HMG Poster
Moderator: Rathinagiri
- Rathinagiri
- Posts: 5481
- Joined: Tue Jul 29, 2008 6:30 pm
- DBs Used: MariaDB, SQLite, SQLCipher and MySQL
- Location: Sivakasi, India
- Contact:
Re: I want to be a HMG Poster
It's ok Chenmin.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
South or North HMG is worth.
...the possibilities are endless.
-
shuvro_basu
- Posts: 1
- Joined: Tue Jun 15, 2010 7:17 am
- DBs Used: DBF, MySQL, ODBC
- Location: India
Re: I want to be a HMG Poster
Hello,
This is Shuvro from Chennai, India. I have used Clipper in the past (about a decade ago) and now my interests are renewed in the language and also HMG too.
This is Shuvro from Chennai, India. I have used Clipper in the past (about a decade ago) and now my interests are renewed in the language and also HMG too.
Re: I want to be a HMG Poster
Hello. Thank you for sharing your ideas, efforts and talents with the programming community.
My interest in Harbour/HMG lies in converting Clipper 5.2e applications into Windows-based (printing, gui, new features), and creating "bridge" programs between 2 applications with different data formats. I have intermediate knowledge in Clipper but a total beginner in Harbour/HMG and Windows programming.
Please allow me my initial questions:
My first project is a small program but I'm getting errors like: undefined reference to HB_FUN_FT_DEFAULT, HB_FUN_FT_INT86. These functions came from NANFOR.LIB. So I included LIBHBNF.A (renamed to LIBHBNF.LIB, not sure if this is a correct move) so that the compiler/linker may find it. But I still get errors.
Are both .LIB and .A valid library files (with interchangeable extension names)?
Second question, is there a tool that I can use to see/list the available functions in a library file (.LIB and .A)? Similar to Herb Rose's LIBRA.EXE, or LIB.EXE of Microsoft?
I'd like to print a copy of all the functions and commands (with brief description only, to save on paper, hopefully less than 50 pages only). Any ideas where I can source the data?
Thank you very much.
My interest in Harbour/HMG lies in converting Clipper 5.2e applications into Windows-based (printing, gui, new features), and creating "bridge" programs between 2 applications with different data formats. I have intermediate knowledge in Clipper but a total beginner in Harbour/HMG and Windows programming.
Please allow me my initial questions:
My first project is a small program but I'm getting errors like: undefined reference to HB_FUN_FT_DEFAULT, HB_FUN_FT_INT86. These functions came from NANFOR.LIB. So I included LIBHBNF.A (renamed to LIBHBNF.LIB, not sure if this is a correct move) so that the compiler/linker may find it. But I still get errors.
Are both .LIB and .A valid library files (with interchangeable extension names)?
Second question, is there a tool that I can use to see/list the available functions in a library file (.LIB and .A)? Similar to Herb Rose's LIBRA.EXE, or LIB.EXE of Microsoft?
I'd like to print a copy of all the functions and commands (with brief description only, to save on paper, hopefully less than 50 pages only). Any ideas where I can source the data?
Thank you very much.
- Rathinagiri
- Posts: 5481
- Joined: Tue Jul 29, 2008 6:30 pm
- DBs Used: MariaDB, SQLite, SQLCipher and MySQL
- Location: Sivakasi, India
- Contact:
Re: I want to be a HMG Poster
Welcome aboard cocoking.
If you want to link the functions in nanfor.lib, you have to compile using harbour-mingw combination to create nanfor.a
Renaming a .lib file into .a file won't workout.
For your second question, I don't think so.
Docs and help files are available for both HMG and Harbour as well.
If you want to link the functions in nanfor.lib, you have to compile using harbour-mingw combination to create nanfor.a
Renaming a .lib file into .a file won't workout.
For your second question, I don't think so.
Docs and help files are available for both HMG and Harbour as well.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
South or North HMG is worth.
...the possibilities are endless.
- esgici
- Posts: 4543
- Joined: Wed Jul 30, 2008 9:17 pm
- DBs Used: DBF
- Location: iskenderun / Turkiye
- Contact:
Re: I want to be a HMG Poster
Hello cocoking, welcome aboardcocoking wrote:Hello. Thank you for sharing your ideas, efforts and talents with the programming community.
My interest in Harbour/HMG lies in converting Clipper 5.2e applications into Windows-based (printing, gui, new features), and creating "bridge" programs between 2 applications with different data formats. I have intermediate knowledge in Clipper but a total beginner in Harbour/HMG and Windows programming.
Greeting from Turkiye
As our friend Rathinagiri mentioned, renaming library file by extension isn't a correct way, because internal structure of two library files are different. Re-compiling from source code, re-linking and re-libbing too may not be sufficient for your expectations; probably may be for only console mode.cocoking wrote:Please allow me my initial questions:
My first project is a small program but I'm getting errors like: undefined reference to HB_FUN_FT_DEFAULT, HB_FUN_FT_INT86. These functions came from NANFOR.LIB. So I included LIBHBNF.A (renamed to LIBHBNF.LIB, not sure if this is a correct move) so that the compiler/linker may find it. But I still get errors.
Are both .LIB and .A valid library files (with interchangeable extension names)?
As far as I know, Nanfor.lib is superseded by CT.lib and (almost) all modules of CT.lib are re-written in Harbour. So your need is find out Harbour or HMG doc; not lib-modules list.
For example :
If function of FT_DEFAULT() function of Nanfor.lib is retrieve and optionally change the current default drive; you have use SET function of Harbour:
Code: Select all
<cCurrentDefaultDrive> := SET( _SET_DEFAULT ) // for to retrieveand
Code: Select all
SET( _SET_DEFAULT <cNewDefaultDrive> ) // for to setYes, I'm remembering such utilscocoking wrote:Second question, is there a tool that I can use to see/list the available functions in a library file (.LIB and .A)? Similar to Herb Rose's LIBRA.EXE, or LIB.EXE of Microsoft?
I'd like to print a copy of all the functions and commands (with brief description only, to save on paper, hopefully less than 50 pages only). Any ideas where I can source the data?
Sadly, I don't know any 'modern' version of its, and in my opinion, a only module names list can't help you
Need at least a brief description first and second, module names may be different between old and modern libraries.
In other hand, at beginning, converting existing DOS program to windows or writing new ones under old habits may be painful. Instead, please try build, run and understand HMG samples.
Surely, after a short work on this (really a rich set of) HMG samples you will see how simple programming with HMG
Happy HMG'ing
--
Esgici
Viva INTERNATIONAL HMG 
- Rathinagiri
- Posts: 5481
- Joined: Tue Jul 29, 2008 6:30 pm
- DBs Used: MariaDB, SQLite, SQLCipher and MySQL
- Location: Sivakasi, India
- Contact:
Re: I want to be a HMG Poster
Hai Shuvro Basu,shuvro_basu wrote:Hello,
This is Shuvro from Chennai, India. I have used Clipper in the past (about a decade ago) and now my interests are renewed in the language and also HMG too.
Welcome aboard. So, I found a person so near to my place.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
South or North HMG is worth.
...the possibilities are endless.
- esgici
- Posts: 4543
- Joined: Wed Jul 30, 2008 9:17 pm
- DBs Used: DBF
- Location: iskenderun / Turkiye
- Contact:
Re: I want to be a HMG Poster
Hi Shuvro
Welcome aboard
Regards from Turkiye
--
Esgici
Welcome aboard
Regards from Turkiye
--
Esgici
Viva INTERNATIONAL HMG 
Re: I want to be a HMG Poster
Thank you very much, rathinagiri and esgici, for the very warm welcome, and prompt/helpful replies.
Pardon me for posting more questions as I am still trying to find my way in Harbour/HMG.
I would like to use built-in functions instead of “reinventing the wheel” but I have not yet found a site discussing Harbour libraries.
For instance:
1. Isn’t LIBHBNF.A a Harbour port of Clipper’s Nanfor? Now, how do I know what functions are available in LIBHBNF and other libraries in \HMG\HARBOUR\LIB?
2. What libraries are automatically included in the compile/link process?
By the way, FT_INT86 is included in Nanfor (mine is 3.05) and is used by functions to execute a software interrupt.
Thanks again. I believe I will learn a lot from you and the other members of this forum.
Pardon me for posting more questions as I am still trying to find my way in Harbour/HMG.
I would like to use built-in functions instead of “reinventing the wheel” but I have not yet found a site discussing Harbour libraries.
For instance:
1. Isn’t LIBHBNF.A a Harbour port of Clipper’s Nanfor? Now, how do I know what functions are available in LIBHBNF and other libraries in \HMG\HARBOUR\LIB?
2. What libraries are automatically included in the compile/link process?
By the way, FT_INT86 is included in Nanfor (mine is 3.05) and is used by functions to execute a software interrupt.
Thanks again. I believe I will learn a lot from you and the other members of this forum.
Re: I want to be a HMG Poster
Hello,
I'm a former Clipper Summer'87 student from 1990.
Recently I found xHarbour and right now I am using Harbour from SVN with MingW32.
Trying to develop a simple and small ERP in CUI mode using GTWVT.
Interested in HMG forum because I found it to be one of the most active places discussing about SQLite and I really want to use it in place of DBF/CDX.
I will post about SQLite to find help with more experienced users.
Thank you for the opportunity.
Regards,
Qatan
I'm a former Clipper Summer'87 student from 1990.
Recently I found xHarbour and right now I am using Harbour from SVN with MingW32.
Trying to develop a simple and small ERP in CUI mode using GTWVT.
Interested in HMG forum because I found it to be one of the most active places discussing about SQLite and I really want to use it in place of DBF/CDX.
I will post about SQLite to find help with more experienced users.
Thank you for the opportunity.
Regards,
Qatan
- Rathinagiri
- Posts: 5481
- Joined: Tue Jul 29, 2008 6:30 pm
- DBs Used: MariaDB, SQLite, SQLCipher and MySQL
- Location: Sivakasi, India
- Contact:
Re: I want to be a HMG Poster
Hi Qatan,
Welcome to HMG forum. Now you can post in all the areas.
Welcome to HMG forum. Now you can post in all the areas.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
South or North HMG is worth.
...the possibilities are endless.