What Jim means is something like this:
Function TEST()
LOCAL nSavRecord := RECNO()
IF ( MLOC->(DBSEEK(arti->COD_ART)) )
@0,0 SAY "YES WE HAVE SOMETHING"
x=1
// Presuming the fieldname in MLOC table is
// also COD_ART
DO WHILE...
Thanks TonHu,
I didn't realize that the linking system worked that way but apparently it does. No problem, I'll try to remember that now.
When I come to think of it, I may have accidently used functions in my libraries that already existed in Clipper!
I probably didn't, but in this new...
Thanks again, TonHu,
Please take a long weekend. I'm not in a hurry.
Meanwhile, I solved the ReadModal() problem (it was old undocumented code and I should have re-studied it better before asking for help).
But now we come to a more important point, I think...
I found out that I had other...
Hi everybody,
I got my Clipper app about 98% migrated to XHarbour (org).
A few things are still not working:
In my program, I use hotkeys wich I want to be accesible from the GET fields. I did this by writing my own inkey() function and replacing GETSYS.PRG with my own MYGETSYS.PRG in wich...
Thanks TonHu,
meanwhile, I found out that everything worked if I check the "debug info /b" setting during interactive make (all the rest left default). So I guess, in that case, the debug.lib is linked in and you are right: it has something to do with inducing debug. Only, I don't know why I...
I did some research...
_HB_FUN___DBGENTRY is in harbour.lib off course.
I noticed that the MAKEFILE.LNK produced by HBMAKE doesn't refer to harbour.lib.
So I added harbour.lib manually (just before optcon.lib) and ran ilink32 @makefile.lnk manually.
This resulted in an executable MYHELLO.EXE...
Thanks TonHu,
that did the trick. I had only one .PRG file in that directory, so only one showed up in the list and I just entered on it. I realise now that, of course, one should be able to select more files for a multi-module system.
Anyhow, it worked... but it didn't:
I get an unresolved...
Ok, I tried the HBMAKE, but no luck.
I still get a resulting EXE but it doesn't do anything.
In noticed, after going thru the interactive build (I left all the standard settings), the question is asked if I want to make the program. When I do, I see a compile... message with progression bar...
Ok TonHu, here is the source code:
----------------------------
PROCEDURE Main()
? "Hello world"
wait
RETURN
----------------------------
It's from the samples of the XHarbour Builder Demo download and it's as plain as could be. I included the starting and ending dashes manually in this...
Hi All,
I'm having trouble with starting in xHarbour.
I installed the open source binary files and the Borland compiler BCC55.
I tried, as a start, a simple "Hello World" PRG.
After a bit of searching in newsgroups and the internet, I managed to get a complete compile-and-link cycle without any...
Thanks TonHu,
Since I only used Class(y) in a small part of my code (I started using it late), I don't think that there will be problems then. I use only the basics of OOP and haven't gone very deep into it (yet). I will surely start installing Xharbour soon and just see what happens. Looks...
HI everybody,
Everyone seems to agree that switching to XHarbour is a good idea and I want to give it a try because I can see the advantages too. Since I have a very large POS program with many PRG files, I know that converting will be a BIG job and before I begin I would like to know what I...
FOUND IT!
I use a batch file to build the app. There, after the compiling and linking, I use OPTEDIT with it's EXTRAMIN argument like this:
OPTEDIT MYAPP.EXE -EXTRAMIN 40000
Reducing this 40000 solved the problem.
Now, I only have to see if I can remember why I made it that high. It had...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.