Hello,
Keysend(chr(0)+chr(60)) correspond to F1 wich key code is -1. I would like to know why. Is there some logical formula to go from chr(0)+chr(60) to -1 ?
Regards,
mathmax
I've tried to include unistd.h, but the xHarbour compiler just says "Error : could not compile", when including this file.
Just now, I was saying that Visual Studio compiled the program successfully. That's true but I get an error as soon as I try to execute it. The error is:
Unable to start...
Very strange: I tried to compile it with Visual Studio 2008 and I the program compiled successfully although it still don't compile with the xHarbour compiler.
By looking at isatty in the source code, I found this:
#ifdef _CVI_
#define fileno(f) (f->handle)
static int isatty (int x) { return...
I've included the following header files :
#include <malloc.h>
#include <io.h>
This solved the previous errors but I got a lot of compilation errors with them.
For example this error :
Syntax error; found "yy_proto" expecting ";" on the following line (in the .c file) :
extern int isatty...
Those tools generate .c program that do the parsing. I've some difficulties to compile them.
I got the following error message :
Unresolved external symbol "isatty".
Unresolved external symbol "alloca".
Do you have an idea of the problem ?
Regards,
mathmax
No the input string can be very different format. In fact I should be able to parse all valid conditions condition from the Clipper language. What do you think about using flex and bison ?
Hello,
I would like to parse an expression which is a condition of the CA-Clipper language and then translate it into SQL. Do you think that tools like LEX and YACC could help me to solve my problem? Or do you think there is an other better way?
Here is a translation sample:
("Mart" $...
Linking in GTWVW or GTWVT (called WVW or WVT in xHarbour.com, AFAIRC) should cause GTWIN (the default GT) to be left out of your exe, but I'm not sure it does. Just try and see.
I try adding those libraries to the linkage, but the display is still slow. How to check that GTWIN isleft out of my...
Hi,
I currently try the 30 days trial version of xHarbour, but maybe make scripts of .org version could be used with my version. In any case, I would be interested to know how do that with HBMake.
Sorry, but I'm quite novice and I don't understand what you explain to me about GTWVW or GTWVT...
Hi
How can I change the Gt driver. Is it something to install ? Is there any url where I can download those drivers ?
Concerning my compilation problem, I've read in the documentation that xBuild Project Builder by default set the –n option. As far as I've understood, the only way to remove...
Thank you for your explanations, ThonHu. In fact it is the display that is a lot slower with xHarbour.
Here was my test program :
#include "sqlrdd.ch"
procedure harb()
Connect() // function in C:\xHB\samples\sqlrdd\connect.prg
use q:\test.dbf VIA "SQLRDD"
debut =...
Hello,
I currently try to use xharbour in order to run my clipper programs on
a SQL Server database.
Many points that surprised me :
- A program that just displays all the records of a table is twice
faster running on a .dbf file than running on a SQL Server database.
Is it normal ?
- What is...
Hello,
I've heard that it's possible to use an SQL server database with a Clipper program, thanks to Alaska (xbase++).
I would like to know if someone has already tried to do this or if someone know how to accomplish this.
Thank you in advance for any feedback.
mathmax
Hello,
I get this compilation error :
Fatal C3001 Memory overbooked
Do you know what is the problem and how to correct it ?
Thank you in advance for your help.
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.