Amiga.org
Amiga computer related discussion => Amiga Software Issues and Discussion => Topic started by: hayashi on September 06, 2009, 06:08:30 PM
-
Hi,
I tried to use a program under OS3.0, and it's complaining about keymap.library V39 being unavailable.
I thought this was a ROM library >.<;;
I've also noticed that everything has suddenly switched to a US English keyboard layout. Is this related?
Thanks, Matt
EDIT: I found this while Googling for help: "keymap.library is now opened with version 37 (version 39 does not exist)"
In that case, looks like I'm gonna have to get 3.1 ROMS =(
-
Does the program require OS3.1?
If it is designed for 3.1, it's not unusual for it to request release 3.1 versions of libraries. Regardless of whether or not V39 exists, the OpenLibrary() call interprets the requested version to be the minimum required and hence will succeed on any higher version.
-
If you look at the NDK's autodoc, you will see that keymap.library already existed in OS 2.0 (V36). Have you tried opening the library like this ?
struct Library *KeymapBase = NULL;
..
KeymapBase = OpenLibrary("keymap.library", 0);
..
x303 :D :D :D
-
If you look at the NDK's autodoc, you will see that keymap.library already existed in OS 2.0 (V36). Have you tried opening the library like this ?
struct Library *KeymapBase = NULL;
..
KeymapBase = OpenLibrary("keymap.library", 0);
..
x303 :D :D :D
Excuse me?
He was trying to use a program, not write it.
-
Excuse me?
He was trying to use a program, not write it.
Ahhh ;)
x303 :D :D :D
-
That looks like a bug in the program - trying to open v39, which doesn't exist. (Even though the ROM is v39, that doesn't mean everything in it is - audio.device, for example, is still v37 in v40 ROMs, so an attempt to open audio.device v40 would fail similarly).
It looks like your Google results turned up a changelog for a newer version of the program with the bug fixed. Try to find that version of the executable.
-
That looks like a bug in the program - trying to open v39, which doesn't exist. (Even though the ROM is v39, that doesn't mean everything in it is - audio.device, for example, is still v37 in v40 ROMs, so an attempt to open audio.device v40 would fail similarly).
It looks like your Google results turned up a changelog for a newer version of the program with the bug fixed. Try to find that version of the executable.
Exactly. Years ago, I found and reported this bug in quite a few programs. Usually the programmer writing the program was using 3.1 and assumed 3.0 keymap.library is v39 - which it isn't. (...and for some reason, the programmer never tests his program with 3.0, assuming that what works in 3.1 will work in 3.0)