27.09.2014, 21:24
Okay, I seem to have a working solution for this. There were a couple of problems stopping things from working - first off, OpenCatalogA_() only works if the first parameter is null, or else is an exact locale name string. "English" doesn't work for that reason.
The second is strange to me.
result$ = Peek.s(GetCatalogStr_ (*myCatalog, #ID_HELLOWORLD, "Hello World"))
always returns the default string and eventually crashes after a number of runs, but
ad.l = GetCatalogStr_ (*myCatalog, #ID_HELLOWORLD, "Hello World")
result$ = Peek.s(ad)
works fine. I don't understand the difference here - are they not basically the same thing?
Anyway, it works fine now. Thanks for the pointers!
The second is strange to me.
result$ = Peek.s(GetCatalogStr_ (*myCatalog, #ID_HELLOWORLD, "Hello World"))
always returns the default string and eventually crashes after a number of runs, but
ad.l = GetCatalogStr_ (*myCatalog, #ID_HELLOWORLD, "Hello World")
result$ = Peek.s(ad)
works fine. I don't understand the difference here - are they not basically the same thing?
Anyway, it works fine now. Thanks for the pointers!