Completely new to clipper and Advice Required

Discuss anything else that does not suite other forums.

Moderator: Rathinagiri

MkGomp
Posts: 4
Joined: Mon Sep 04, 2017 5:42 pm
DBs Used: DBF

Re: Completely new to clipper and Advice Required

Post by MkGomp »

dragancesu wrote: Fri Sep 08, 2017 9:07 am Did you try to make a compilation? Are there any problems?
Hi Dragancesu,
Thank you for your message & concern.
I'm in a midst of "trying" to compile it in Harbour.
But, as I read a little bit of the code, I found that my .RMK is a multi-purpose module. It has 3 types of "Programs" module, i.e. namely Type1, Type2, and Type3

You can see it under "Set Library name" inside rmake.txt that I attached.
Most of the .PRG will do things depending on Type.

So, If I were to run "Rmake Master /dmulti /dtype1"
All the .PRG will only show things that are related to Type1

The same goes with Type2 and Type3

Question 1: If I were to compile it to Harbour, do I have to make 3 separate .HBP ?

Also, I found out that the .RMK use 1 external .LIB called utilm.Lib (which you can find in rmake.txt file I attached...and sadly I don't have the .LIB source code :( and I know it's going to cause error during compilation in harbour)
Question 2: Do I have to compile it first to find out which harbour library is compatible with it?

Regards,
Attachments
sample.zip
sample of rmake and batch text file
(821 Bytes) Downloaded 176 times
User avatar
BeGeS
Posts: 125
Joined: Fri Jul 14, 2017 10:45 am
DBs Used: DBF
Location: La Mancha, Spain

Re: Completely new to clipper and Advice Required

Post by BeGeS »

Hi, Gomp.
I do not know if I can help you, among other things because I have never used .RMK files
But I will try.
First (if you have not already done so), you must mark the way:

C:\YOURFOLDER>PATH %PATH%;C:\HARBOUR3\BIN

where HARBOUR3, obviously, is the folder in which you have Harbour, so it will be called this way... or not. :mrgreen:

Then you should place where you have the source program (YOURFOLDER) and indicate the command: :geek:

C:\YOURFOLDER>HBMK2 DMULTI DTYPE1 DLANG1 -lUTILM

The UTILM library, for now, put it in YOURFOLDER for the compiler to find.

Let's see if we can get anything. :|
I get by with a little help from my friends
User avatar
serge_girard
Posts: 3161
Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB
2 DBF
Location: Belgium
Contact:

Re: Completely new to clipper and Advice Required

Post by serge_girard »

Yes, I get by with a little help from my friends !

Serge
There's nothing you can do that can't be done...
User avatar
esgici
Posts: 4543
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Contact:

Re: Completely new to clipper and Advice Required

Post by esgici »

Viva INTERNATIONAL HMG :D
User avatar
BeGeS
Posts: 125
Joined: Fri Jul 14, 2017 10:45 am
DBs Used: DBF
Location: La Mancha, Spain

Re: Completely new to clipper and Advice Required

Post by BeGeS »

Compiling with pure Harbour (without GUI) it is not necessary to convert .lib to .a

Just with -lNAMEFILE and take NAMEFILE.lib with no problems.

I say it from experience. ;)
I get by with a little help from my friends
Post Reply