In the menu editor "VOMenu" , if the names of menu items are entered in Cyrillic, then the identifiers are created in the form:
IDM__MENU__1055__1077__1088__1089__1086__1085__1072__1083__1100__1085__1099__1077___1076__1072__1085__1085__1099__1077___1051__1080__1095__1085__1099 __1077__1082__1072__1088__1090__1086__1095__1082__1080___1088__1072__1073__1086__1090__1085__1080__1082__1086__1074__ID
Each letter of the Cyrillic alphabet is converted into its code, because of this the length of such an identifier is 269 characters.
The result is an error:
error RC2104 : undefined keyword or key name: IDM__MENU__1055__1077__1088__1089__1086__1085__1072__1083__1100__1085__1099__1077___1076__1072__1085__1085__1099__1077___1051__108 0__1095__1085__1099__1077___1082__1072__1088__1090__1086__1095__1082__1080___1088__1072__1073__1086__1090__1085__1080__1082__1086__1074__ID 115.0 M_ App.prg.rc
When naming menu items using European languages, everything is fine, the identifier is formed from the menu bar characters.
In Visual Objects everything was ok.
Is it possible to somehow solve this problem?
VO menu editor
Re: VO menu editor
Hi,
Which X# version are you using?
Also what is the exact resource that VO is generating for such items? Can you please send a VO mef containing such menus?
Which X# version are you using?
Also what is the exact resource that VO is generating for such items? Can you please send a VO mef containing such menus?
Chris Pyrgas
XSharp Development Team
chris(at)xsharp.eu
XSharp Development Team
chris(at)xsharp.eu
Re: VO menu editor
Thanks, but this is the vimef file from XIDE, what I need is the original mef (module) from VO. If you want you can also send the full aef (the VO one, not after you port it to XIDE).
The main reason is that I also want to see the exact code that VO is generating for those menus.
The main reason is that I also want to see the exact code that VO is generating for those menus.
Chris Pyrgas
XSharp Development Team
chris(at)xsharp.eu
XSharp Development Team
chris(at)xsharp.eu
Re: VO menu editor
Hi,
Let me know please, how long will it take to fix this error? Day, week ... , never. It is very important for me.
Let me know please, how long will it take to fix this error? Day, week ... , never. It is very important for me.
Re: VO menu editor
Komar,
And we will NOT include a change like this at the last moment. Most likely a change like this will break other people's code.
So this fix will be in our private subscribers build (most likely 2.19) and will not become publicly (= for free) available until the build after 2.19 (most likely 2.20, but we could also skip 2.20 and directly move to 3.0).
So if you really need this, then now is the time to sign up and sponsor our development.
Robert
I am not sure how long it will take to fix this. But what I do know is that we are finalizing X# 2.18 at this moment. 2.18 is also intended to be the next public build.
And we will NOT include a change like this at the last moment. Most likely a change like this will break other people's code.
So this fix will be in our private subscribers build (most likely 2.19) and will not become publicly (= for free) available until the build after 2.19 (most likely 2.20, but we could also skip 2.20 and directly move to 3.0).
So if you really need this, then now is the time to sign up and sponsor our development.
Robert
XSharp Development Team
The Netherlands
robert@xsharp.eu
The Netherlands
robert@xsharp.eu
Re: VO menu editor
Komar,
As Robert said, we cannot include a fix like that in the upcoming build, it's too late to do that.
The good thing is that we have already done a similar fix (for other languages that contain non-standard Latin alphabet letters) in the previous build (2.17, which was only available to subscribers) and with this fix the letters are not converted to numbers anymore, but unfortunately for Cyrillic it sees it's not good enough, still the generated defines are different to the ones generated by VO, which causes compilation errors.
So a further fix is required for Cyrillic and we will do that, just can't tell yet when it will become publicly available, so if you are in a hurry and need a quick fix, please consider subsribing. But just to make sure I'm using the same settings as yours, what is the System Locale setting in your PC? I'm referring to the setting you can see in the screenshot:
As Robert said, we cannot include a fix like that in the upcoming build, it's too late to do that.
The good thing is that we have already done a similar fix (for other languages that contain non-standard Latin alphabet letters) in the previous build (2.17, which was only available to subscribers) and with this fix the letters are not converted to numbers anymore, but unfortunately for Cyrillic it sees it's not good enough, still the generated defines are different to the ones generated by VO, which causes compilation errors.
So a further fix is required for Cyrillic and we will do that, just can't tell yet when it will become publicly available, so if you are in a hurry and need a quick fix, please consider subsribing. But just to make sure I'm using the same settings as yours, what is the System Locale setting in your PC? I'm referring to the setting you can see in the screenshot:
Chris Pyrgas
XSharp Development Team
chris(at)xsharp.eu
XSharp Development Team
chris(at)xsharp.eu
Re: VO menu editor
The system Locale setting in my PC is "Russian (Russia)".
The subscription option is not available to me for financial reasons. I live in Ukraine, Odessa. That says it all. I was only able to purchase Report Pro and bBrowser.
I’ll postpone the transition to X# and wait for the next public version.
Re: VO menu editor
Hi,
I confirm the problem, including version 2.18.0.2a. Just yesterday I needed to remove one item from the menu and after this operation the new saved menu began to look like what Komar presented in the first message. I had to revert the change (git) and remove the menu item manually directly from the files (xsmenu, rc, prg). It’s not critical for me yet, but there really is a problem for the Cyrillic alphabet.
I confirm the problem, including version 2.18.0.2a. Just yesterday I needed to remove one item from the menu and after this operation the new saved menu began to look like what Komar presented in the first message. I had to revert the change (git) and remove the menu item manually directly from the files (xsmenu, rc, prg). It’s not critical for me yet, but there really is a problem for the Cyrillic alphabet.
Best regards,
Leonid
Leonid