So, I finally decided to give a try to madExcept. I’ve downloaded the installer like a few hours ago and run it.
First I tried to select madExcept 5, and it only resulted in my D11 installation failing to load almost every package it loads at startup: most of them with Access Violation at zero address. I uninstalled it and reinstalled with madExcept 4 selected instead. No luck: the IDE now runs but no madExcept settings show anywhere.
Googling around I also tried to search through the registry to check that madExcept didn’t get into disabled packages: nothing. I tried renaming D7 registry key temporarily (seems it decided I’m trying to use it for D7) which led the madExcept installer to not unpack a D7 folder, but still no luck.
So, there are two Delphi versions here: D7 and D11CE. My target is D11CE. In this version I can see madBasic 1.2.8, madDisAsm 2.2.6 and madHelp 1.1.1 in the Packages list, but no notion of madExcept. I’m really close to giving up after spending hours on the easiest part—installation. I mean, what pile of problems am I going to face when it finally gets installed?
Still, any suggestions on how to fix this are appreciated. Manual installation is also a way I’m ready to try, but I have no experience with the IDE quirks.
madExcept fails to work in D11
Re: madExcept fails to work in D11
madExcept 4 doesn't support D11. madExcept 5 should, and currently, I have no other users complaining that it wouldn't work. I have installed every Delphi version from the very old Delphi 4 up to the latest Delphi 12 on my dev PC, and madExcept 5 works fine for me in every of those Delphi versions.
Is your D11 updated to the latest build? What does the "CE" mean in D11CE?
You do need to manually select madExcept in the installer, it's not activated by default. If you don't manually activate it, it won't be installed. If you do install it, the installer should then ask you to confirm that you're aware that madExcept is only free to be used for non-commercial purpose and you need to type in "yes".
If you do activate madExcept in the installer (either with v4 or v5), does madExcept work in D7, at least? Or does it also crash?
FYI, madExcept detects which Delphi versions are installed and should work in all at the same time. So you renaming the D7 registry key temporarily will only affect whether madExcept will install madExcept for D7, but it will have no effect on D11.
Not sure about all those access violations, I've never heard about that problem before. Not sure where that is coming from, to be honest.
One thing you could try is make sure that the madCollection root folder has read & execute NTFS rights for the user the Delphi IDE is running under, or simply "Everyone", to make things simple. But lack of NTFS rights should only result in madExcept not being able to be loaded, it shouldn't cause access violations...
Is your D11 updated to the latest build? What does the "CE" mean in D11CE?
You do need to manually select madExcept in the installer, it's not activated by default. If you don't manually activate it, it won't be installed. If you do install it, the installer should then ask you to confirm that you're aware that madExcept is only free to be used for non-commercial purpose and you need to type in "yes".
If you do activate madExcept in the installer (either with v4 or v5), does madExcept work in D7, at least? Or does it also crash?
FYI, madExcept detects which Delphi versions are installed and should work in all at the same time. So you renaming the D7 registry key temporarily will only affect whether madExcept will install madExcept for D7, but it will have no effect on D11.
Not sure about all those access violations, I've never heard about that problem before. Not sure where that is coming from, to be honest.
One thing you could try is make sure that the madCollection root folder has read & execute NTFS rights for the user the Delphi IDE is running under, or simply "Everyone", to make things simple. But lack of NTFS rights should only result in madExcept not being able to be loaded, it shouldn't cause access violations...
-
- Posts: 2
- Joined: Sun Sep 29, 2024 8:53 am
Re: madExcept fails to work in D11
Yep, it’s updated as much as a CE version can be updated, CE meaning “Community Edition”.
I made a few more attempts while waiting for response here, with no luck. But since you’ve written that only v5 is available for D11, I decided to give it another try, so I uninstalled whatever I had in madExcept folder by that time and tried again. This time it seems to work (at least now the IDE starts and I see the menu item for my project).
The only difference I can think of (without trying to investigate various possible incompatibilities with whatever it could be) is that when I tried for the first time, the IDE was running, and the installer asked to close it. I did close it and pressed the OK button afterwards, proceeding the installation. Could it be that some corner case is not handled properly in the installer when running IDE is detected? This explanation seems the simplest. Another thought on the topic is that I didn’t really check that IDE process has shutdown completely before hitting “OK” in the installer, I just waited for the window to close and gave it like another 10 seconds or so before proceeding. Does the installer recheck the IDE state after hitting “OK”?
Anyway, for now it seems to have installed. Of course, I’ll give more feedback if I find something.
I made a few more attempts while waiting for response here, with no luck. But since you’ve written that only v5 is available for D11, I decided to give it another try, so I uninstalled whatever I had in madExcept folder by that time and tried again. This time it seems to work (at least now the IDE starts and I see the menu item for my project).
The only difference I can think of (without trying to investigate various possible incompatibilities with whatever it could be) is that when I tried for the first time, the IDE was running, and the installer asked to close it. I did close it and pressed the OK button afterwards, proceeding the installation. Could it be that some corner case is not handled properly in the installer when running IDE is detected? This explanation seems the simplest. Another thought on the topic is that I didn’t really check that IDE process has shutdown completely before hitting “OK” in the installer, I just waited for the window to close and gave it like another 10 seconds or so before proceeding. Does the installer recheck the IDE state after hitting “OK”?
Anyway, for now it seems to have installed. Of course, I’ll give more feedback if I find something.
Re: madExcept fails to work in D11
I don't think it should matter much if the IDE was already fully closed or not. So I'm not sure why you had problems originally, but not now. It doesn't make a lot of sense to me, to be honest. Of course I do believe you that you had those problems, but I can't explain them. In any case, I'm glad to hear that installation succeeded this time.
Just to be safe, could you run a checkdisk on your SSD? I'm wondering if maybe there's some file system corruption going on? Don't know, just trying to understand what's going on. Another thing could be your anti-virus messing things up or something. Of course my preferred explanations don't involve any guilt on my part...
Just to be safe, could you run a checkdisk on your SSD? I'm wondering if maybe there's some file system corruption going on? Don't know, just trying to understand what's going on. Another thing could be your anti-virus messing things up or something. Of course my preferred explanations don't involve any guilt on my part...