Berlin 10.1 Update 2 problems (access violations preventing ide from starting)
Hi,
Delphi Berlin 10.1 Update 2 was released today, while installing the update 2 version i lost my installed ide experts as soon as i installed CnWizards_1.1.1.849.exe and start the new ide version i get access violations preventing the IDE from starting if i uinstall the expert using control panel the problem does not happen.
Initially while delphi (un)installer had removed my old Berlin 10.1 version it removed the "HKEY_CURRENT_USER\Software\Embarcadero\BDS\18.0" completly so the expert was not "known" anymore after 10.1 update 2 installation. I added it manually since i knew the location the expert dll and i could start delphi there was only a problem that the cnwizards shortcuts did not work. When looking at the delphi settings "Editor options\key mappings" and placing the cnwizards enhanced modules all the way to the top (before anything else) in the default mapping module the error started happening. but they did not happen if the cnwizards listing was all the way on the bottom but then it seemed the keyboardshort cuts did not happen.
I also tried resetting my settings during uninstall of the expert by not keeping the setting files when asked and reinstalled again but it kept giving the same error immediatly then. Only solution at the moment was to uninstall the expert.
My guess is that if i find out where delphi keeps the order of the enhanced modules in the registry and changing this order in the registry so cnwizards is but all the way at the bottom again my ide will start but without some shortcuts working.
i'm not sure if i'm the only one with this problem, i'm also not 100% sure if it's due to the new berlin 10.1 update 2 but before when using 10.1 (plain version not update1) i did not have this problem. I'm also using idefixpack and thus compilerspeed pack but they seem to work fine when cnwizards is not installed.
Anyway if it actually is a problem with the berlin 10.1 update 2 version the reason is probably something related to the keyboard shortcuts (those enhanced modules).
I have not tested any nightlies yet and i understand 10.1 update 2 is sparkling new so nothing could have been tested yet but i'm just here documenting my experiance / problem i had (re)installing / using cnwizards into berlin 10.1 update 2.
Anyone else having problems with it ? if not what happens if you move the cnwizards in the default key mapping module all the way to the top ? the same access violation came immediatly then with me
guys i understand the explanation above might be a bit cryptic so i created a youtube video showing the problem. My guess it's a problem between cnpack.bufferlist and castalia.navbartools as soon as cnpack.bufferlist comes before the navbartools one from castalia the problem happens. If you don't change back the setting before restarting the IDE the ide will not start anymore unless you change the order manually in the registry. As far as i'm aware this problem started happening with berlin 10.1 update 2 although i can't confirm if the issue was in 10.1 update 1 as well as i did not have that version installed i did have plain 10.1 and there the problem did not happen
please see https://youtu.be/C55AkxuTk5c
ps it also happens with latest nightly and with idefix / compiler speed pack disabled so must be something with cnpack.bufferlist ? can't think of anything else unless it's a delphi ide issue
Thank your for so detailed report. I guess the incompatibility maybe caused by compiler. Could you download our latest nightly-build version to test it? The latest nightly-build version (1.1.1.861 or later) is compiled by XE 10.1 Update 2.
http://www.cnpack.org/downbuilds.php
hi @shanzhashu i just downloaded and installed CnWizards_1.1.1.863_Unstable.exe and the problem persists, same error with same stacktrace. I'm not sure if other people can confirm this problem on their end (if they got berlin)
a follow up, just installed ver 1.1.2.885 build 2017.03.08, release today problem still happened. But i'm not certain cnpack is to blame
looking at the stacktrace of the error (http://pastebin.com/kRgBmK7X) it seems the code passes EditorNavBar.TNavToolbarKeyBinding.BindKeyboard iwhich is from i guess the castalia part (navigation toolbar keybindings).