GetProject method fails since 8.5 Update

Hello,
we just updated our version from 8.0 to 8.5.
Since then the getProject method of the Database COM API fail's without a real error message.



Does anyone know what could be wrong?

RE: GetProject method fails since 8.5 Update

Good morning Marcel,
This works for me on our latest 8.5.
I suppose this is either good or bad news..
What is the 8.5 release version you are running? 
Also, just in case you have installed more than 1 version: make sure the COM registration is correct.


Regards,
Conrad

 

 

Af: Conrad Weyns 12. maj 2020

RE: GetProject method fails since 8.5 Update

32 bit vs 64 bit script host?

64 bit VBScript won't be able to call SuperOfficeDB.dll because it is an in-process object.

It can call SuperOffice.Application, because that is an out-of-process object.

Af: Christian Mogensen 12. maj 2020

RE: GetProject method fails since 8.5 Update

32 bit.
It turned out that it always crashed when importing the DLL manually in Microsoft Access.
Also If u call the login Method more than one Time in the Application the error also occured.
I now only login once globally and everything works fine again.

Af: Marcel Maier 13. maj 2020

RE: GetProject method fails since 8.5 Update

Sounds good!

(And yes, you would not have been able to create the db instance if your app was 64bit and probably seen a very different error)
/cornad

Af: Conrad Weyns 13. maj 2020