Book a Demo

Author Topic: EA16, Call to OpenFile2()  (Read 3335 times)

StH

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
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

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: EA16, Call to OpenFile2()
« Reply #1 on: January 23, 2023, 08:04:21 pm »
Have you tried with EA v16.1.1623?

They forgot the .qea file format in the ProjectTransfer function and fixed that in this version. Maybe they also fixed the same issue in the OpenFile2() method.

If not, report a bug.

Geert