Lucas,
I am running Win 8.1 x64. I'm using the latest xHarbour and FWH.
The complete error is shown in a previous message. It is failing to open the table.
Please send me your working EXE so I can try it here.
James
Lucas,
I am running Win 8.1 x64. I'm using the latest xHarbour and FWH.
The complete error is shown in a previous message. It is failing to open the table.
Please send me your working EXE so I can try it here.
James
James,
I sent you a zip file with an exe so as to retreive full error.log and check error.
Here you also have it:
Lucas,
OK, I was linking in adordd.lib and you were using #include "adordd.prg." When I changed to your syntax, it worked. Perhaps I need to move the lib location in the buildx.bat file?
James
Hello,
Try to put the adordd.lib as the first lib.
Or maybe there is something wrong at the lib.
Glad you get it working.
ADORDD.PRG(288) Error E0020 聽Incomplete statement or unbalanced delimiters
ADORDD.PRG(291) Error E0020 聽Incomplete statement or unbalanced delimiters
ADORDD.PRG(295) Error E0010 聽ENDIF does not match IF
ADORDD.PRG(363) Error E0020 聽Incomplete statement or unbalanced delimiters
ADORDD.PRG(424) Error E0020 聽Incomplete statement or unbalanced delimiters
ADORDD.PRG(428) Error E0030 聽Syntax error "syntax error at 'END'"Vilian,
From your errors, it appears that Harbour doesn't support the TRY/CATCH/END commands. Or, maybe you need to #include another file.
I am using xHarbour and I don't get any errors.
James
Try to put ADORDD.LIB as the first lib.
...
echo %bcdir%\lib\c0w32.obj + > b32.bc
echo adordd.lib + >> b32.bc
...adordd.prg(4471) Warning W0001 聽Ambiguous reference 'LRET'
adordd.prg(4476) Warning W0001 聽Ambiguous reference 'LRET'
adordd.prg(4481) Warning W0001 聽Ambiguous reference 'LRET'
fivewin.ch(109) Warning W0002 聽Redefinition or duplicate definition of #define CRLF
adordd.prg(5442) Warning W0002 聽Redefinition or duplicate definition of #define UR_FI_FLAGS
adordd.prg(5443) Warning W0002 聽Redefinition or duplicate definition of #define UR_FI_STEP
adordd.prg(5444) Warning W0002 聽Redefinition or duplicate definition of #define UR_FI_SIZEVilian,
I don't know why you are getting the lRet as being ambiguous since it is defined as a LOCAL. They do happen to be within the TRY/END sequence so I wonder if that isn't still an issue.
The other warnings I wouldn't worry about.
You can build your own lib using Borland's TLIB.EXE, or just add the prg to your app.
James
Vilian,
You can safely ignore such warnings.
They are from functions under development.
Hello,
We tested with Access, MySQL and MSSQL.
With the above, its working pretty good.
Vilian,
It appears that MariaDB is not yet supported. However, take a look at the ADOOPENCONNECT Method of the ADORDD.PRG and you will see how the various SQL databases are opened. Maybe you can create your own CASE statement for the MariaDB. Let us know if that works.
Alternately, you could just try getting up and running with the ACCESS Northwind.mdb as I have done. Then once you have that figured out you could proceed to trying to get the MariaDB going too.
James
聽 聽Error description: (DOS Error -2147352567) WINOLE/1007 聽[Microsoft][ODBC Driver Manager] Name of database font not find (0x80004005): Microsoft OLE DB Provider for ODBC Drivers
聽 聽Args:
聽 聽 聽[ 聽 1] = C 聽 Driver={mySQL ODBC 5.3 ANSI Driver};server=localhost;Port=3306;Option=32;database=vfatec;uid=root;pwd=vfatec;
Stack Calls
===========
聽 聽Called from: 聽=> TOLEAUTO:OPEN( 0 )
聽 聽Called from: \tec2000\SGV90\ADORDD.PRG => ADOOPENCONNECT( 474 )
聽 聽Called from: \tec2000\SGV90\ADORDD.PRG => ADOGETCONNECT( 5238 )
聽 聽Called from: \tec2000\SGV90\ADORDD.PRG => ADODEFAULTS( 5218 )
聽 聽Called from: tempresa.prg => TSISTEMA:NEW( 400 )
聽 聽Called from: \tec2000\SGV90\SGV.PRG => START( 175 )Vilian,
It appears to be saying that it is not finding the database. Perhaps the path is not specified or is incorrect.
You should also check your normal connection syntax with that being used in the ADORDD.PRG's ADOOOPENCONNECT() function.
I don't have MySQL installed here so I can't test it. Plus I am running xHarbour not Harbour.
I do suggest using the ACCESS Northwind.mdb to get started. After you get that opened successfully, then you can try other databases. MySQL is supposed to be syntax compatible so it should be easy once you get Northwind.mdb working.
James