1
Automation Interface, Add-Ins and Tools / EA16, Call to OpenFile2()
« on: January 21, 2023, 02:26:33 am »
Hi Community, I have a problem using a tool with access to the new database format qea.
First things first: I have written a tool, that allows access to EA databases by a command line. This tool uses the EA-SDK-function OpenFile2() to open a database or a eap-file, what worked fine up to now.
Now we plan to migrate to EA16 to take advantage of the 64 bit usage. So, we installed (luckily only a test-installation) EA16 and I converted an eap-file to a qea-file with the built-in converter-tool. So far so good. Opening the file by EA works with no problems.
But if I try to start my cmdline-Tool, I face the problem, that I get the following message:
"An Error has occured: Unrecognized database format '%file%. To enable Jet 4, go to Start | Preferences | Use JET4.0, restart EA"
but the new database is no JET-format as far as I understood, it is a MySQL database format, i think. Do you have any suggestions what I can do for resolving this issue?
Best regards and thanks in advance
First things first: I have written a tool, that allows access to EA databases by a command line. This tool uses the EA-SDK-function OpenFile2() to open a database or a eap-file, what worked fine up to now.
Now we plan to migrate to EA16 to take advantage of the 64 bit usage. So, we installed (luckily only a test-installation) EA16 and I converted an eap-file to a qea-file with the built-in converter-tool. So far so good. Opening the file by EA works with no problems.
But if I try to start my cmdline-Tool, I face the problem, that I get the following message:
"An Error has occured: Unrecognized database format '%file%. To enable Jet 4, go to Start | Preferences | Use JET4.0, restart EA"
but the new database is no JET-format as far as I understood, it is a MySQL database format, i think. Do you have any suggestions what I can do for resolving this issue?
Best regards and thanks in advance