Studio 11 library conversion
Mike Matthews - Omnis
omnis at lineal.co.uk
Tue Nov 21 15:55:14 UTC 2023
Hello Andy,
Aye, but you can’t go backwards if your dev machine is running OSX Sonoma and v10.22 build 32066 for those running older version of Studio.
Also not using:
Do $libs.$add(Path,,,,ECode,EText) Returns rLib
There is no option for conversion sadly. I have asked for it.
Thanks
Mike
On 21 Nov 2023, at 15:14, TBS <andyh at totallybrilliant.com<mailto:andyh at totallybrilliant.com>> wrote:
Caution: This is a message which has originated from outside the organisation. Ensure the sender is trusted and the content is safe before opening links or attachments.
Never forget when opening libraries under an Omnis notation command you can always auto-convert them - so you can maintain one set of base libraries providing your code includes : Open library (Do not close others,Enable conversion by runtime,Convert without user prompts)
Andy Hilton
Totally Brilliant Software Inc
Phone (US) : (863) 409 4870
On Nov 21, 2023, 2:04 AM -0500, Mike Matthews - Omnis via omnisdev-en <omnisdev-en at lists.omnis-dev.com<mailto:omnisdev-en at lists.omnis-dev.com>>, wrote:
Hello Kelly,
So the reason for jumping the values is this:
The new build of v10.22 32066, uses one of those numbers. You have to convert your library to run this build, and it appears you can’t go back. So a bit like from v8 to v10, and it meant you had a new code.
The new build of v11 35659 has the new library format, so it had a new code as well.
So if you develop using v10, and need the new security property, and OSX Sonoma compatibility, you have to convert all of your users to the same v10.22 build 32066, or convert the libraries before use for those users. Otherwise develop two sets of libraries of course.
Hmmm...
Mike Matthews
Lineal Software Solutions
Commercial House, The Strand<x-apple-data-detectors://1/1> Barnstaple, Devon, EX31 1EU<x-apple-data-detectors://1/1>
omnis at lineal.co.uk<mailto:omnis at lineal.co.uk><mailto:mike.matthews at lineal.co.uk>
www.lineal.co.uk<http://www.lineal.co.uk><http://www.lineal.co.uk/>
www.sqlworks.co.uk<http://www.sqlworks.co.uk><http://www.sqlworks.co/>
On 9 Oct 2023, at 06:38, Kelly Burgess <kellyb at montana.com<mailto:kellyb at montana.com><mailto:kellyb at montana.com>> wrote:
Caution: This is a message which has originated from outside the organisation. Ensure the sender is trusted and the content is safe before opening links or attachments.
I hadn't seen it mentioned before, but the latest Studio 11 35659 release converts libraries from the prior Studio 11 release. It takes an odd jump, too... I've adjusted my Applescript as follows:
if byteOne = 57 then -- 0x39
set dialogMsg to file_ & " is a Studio 11.0.x library."
end if
-> if byteOne = 60 then -- 0x3C
-> set dialogMsg to file_ & " is a later Studio 11.0.x library."
-> end if
As you see, they've skipped 58 and 59. After a long, long history of just incrementing by 1, this time they added 3.
The What's New PDF explains:
"Class Locking and Library Conversion
In order to enhance the integrity and security of deployed Omnis Studio libraries, the mechanism used to lock classes in a private library has changed in Omnis Studio Revision 35659."
FYI,
Kelly
_____________________________________________________________
Manage your list subscriptions at https://linkprotect.cudasvc.com/url?a=https%3a%2f%2flists.omnis-dev.com&c=E,1,0dv8kPQTVAoW7e1chD0kbjcLnbVNVBJ-CK2f5pRfI9ngFdl_95LNV2R4mnUtfoykYJ1K_OK3FmU1yHvLirQqf4ZYrblZ80Ka9_A-YZjG-frEqiQzwYChQg,,&typo=1
Start a new message -> mailto:omnisdev-en at lists.omnis-dev.com
_____________________________________________________________
Manage your list subscriptions at https://lists.omnis-dev.com
Start a new message -> mailto:omnisdev-en at lists.omnis-dev.com
More information about the omnisdev-en
mailing list