Steve Finger
2008-11-01 20:29:39 UTC
Hi,
Sorry for the long message....
I never used Omnis 5 as I started with the first version of Omnis 7 and
have a potential customer that wants to convert their Mac Omnis 5 app to
Studio on Windows.
I cannot open the file with Omnis 7v3 7.1 on the Mac. I guess the
creator type needs to be updated somehow? I forget how to do that on a Mac
So I opened the library and datafile with Omnis 7v3 7.1 on Windows and
it seems to convert and appears to work. However I cannot get into the
code or window layouts at all. Double-clicking on any object doesn't do
anything, Ctrl-W doesn't do anything etc.
So.. I then opened it with Studio 4.3.1. It converted but there were
errors showing up in the log but it hit an error and I got this message:
Quitting Omnis due to unrecoverable error:
A class cannot be loaded because it appears to be damaged
APPFMT.CPP:4645
Opening the library a second time with Studio seems to have everything
in the browser.
I can see all the objects in the Studio browser but trying to get at
menu code Studio disappears the message above Double-clicking on a
window brings up a black background window with no fields and looking
at the methods. I can see some methods but others when clicking on them
I get the same error above. Opening reports there are no fields on the
layout.
When opening the data file it says it has old data type which must first
be converted using the Omnis 7 v3x data file tools.
Looking at the archives I found a couple things about the datafile:
- Some code to run in Omnis 7 which of course I can't do as I cannot get
into the library to even see what the file format fields are (Though I
can in Studio so I guess I could create a new Omnis 7 library with the
proper data files and see if I can run this code on the datafile)
- Multiple answers of saying this is not really the problem. The problem
is there are slots in the datafile that are not in the library so I
should remove them. However this seems to have an opposite problem. That
is there are file formats with no matching slots in the datafile.
The check data file in Omnis 7 shows bad blocks and indexes which it
says it repairs but it really doesn't so maybe the datafile is totally
shot. Don't know.
They use the Omnis built in password system but the one they gave me is
not the master one so I'm wondering if that is why trying to look at the
objects in the browser in Studio (or Omnis 7 also) is what part of the
problem is.
I tried creating a new datafile with Studio and then the app starts
working with Studio but as soon as I try to open a window (using the
apps custom application main menu. I get the same error damaged class
error as mentioned above.
The user said this was only a single user app and they hadn't used it in
a while but wanted to start using it again. They also said that they
weren't sure how good of shape the Mac was in that this app was on. So I
guess it's possible the library file is also damaged as is the datafile.
So does anyone have any ideas on what steps I should take to get this at
least running in Studio and then I can see what needs to be done to
actually make it work. Or any other ideas? Do I need the master password
so Omnis 7 can maybe do a better conversion of the app? Or does the
converter not care if you have opened the library with the master password?
Thanks,
Steve Finger
Sorry for the long message....
I never used Omnis 5 as I started with the first version of Omnis 7 and
have a potential customer that wants to convert their Mac Omnis 5 app to
Studio on Windows.
I cannot open the file with Omnis 7v3 7.1 on the Mac. I guess the
creator type needs to be updated somehow? I forget how to do that on a Mac
So I opened the library and datafile with Omnis 7v3 7.1 on Windows and
it seems to convert and appears to work. However I cannot get into the
code or window layouts at all. Double-clicking on any object doesn't do
anything, Ctrl-W doesn't do anything etc.
So.. I then opened it with Studio 4.3.1. It converted but there were
errors showing up in the log but it hit an error and I got this message:
Quitting Omnis due to unrecoverable error:
A class cannot be loaded because it appears to be damaged
APPFMT.CPP:4645
Opening the library a second time with Studio seems to have everything
in the browser.
I can see all the objects in the Studio browser but trying to get at
menu code Studio disappears the message above Double-clicking on a
window brings up a black background window with no fields and looking
at the methods. I can see some methods but others when clicking on them
I get the same error above. Opening reports there are no fields on the
layout.
When opening the data file it says it has old data type which must first
be converted using the Omnis 7 v3x data file tools.
Looking at the archives I found a couple things about the datafile:
- Some code to run in Omnis 7 which of course I can't do as I cannot get
into the library to even see what the file format fields are (Though I
can in Studio so I guess I could create a new Omnis 7 library with the
proper data files and see if I can run this code on the datafile)
- Multiple answers of saying this is not really the problem. The problem
is there are slots in the datafile that are not in the library so I
should remove them. However this seems to have an opposite problem. That
is there are file formats with no matching slots in the datafile.
The check data file in Omnis 7 shows bad blocks and indexes which it
says it repairs but it really doesn't so maybe the datafile is totally
shot. Don't know.
They use the Omnis built in password system but the one they gave me is
not the master one so I'm wondering if that is why trying to look at the
objects in the browser in Studio (or Omnis 7 also) is what part of the
problem is.
I tried creating a new datafile with Studio and then the app starts
working with Studio but as soon as I try to open a window (using the
apps custom application main menu. I get the same error damaged class
error as mentioned above.
The user said this was only a single user app and they hadn't used it in
a while but wanted to start using it again. They also said that they
weren't sure how good of shape the Mac was in that this app was on. So I
guess it's possible the library file is also damaged as is the datafile.
So does anyone have any ideas on what steps I should take to get this at
least running in Studio and then I can see what needs to be done to
actually make it work. Or any other ideas? Do I need the master password
so Omnis 7 can maybe do a better conversion of the app? Or does the
converter not care if you have opened the library with the master password?
Thanks,
Steve Finger