Search found 15 matches

by A. Balslev
Mon May 11, 2020 6:17 am
Forum: madExcept
Topic: Exception not caught when project is on network drive
Replies: 22
Views: 17143

Re: Exception not caught when project is on network drive

Hi again

I couldn't find any settings on my VM that could - intuitively - change the issue.

I do not consider it as a critical issue as long the alternative works :D

br.

Anders
by A. Balslev
Wed May 06, 2020 7:44 am
Forum: madExcept
Topic: Exception not caught when project is on network drive
Replies: 22
Views: 17143

Re: Exception not caught when project is on network drive

Problem solved (but root cause was not found) The Z:\ drive was defined as "\\vmware-host\" We do not know why this should pose a problem. But by mapping the network drive as "\\ITQ-HP2\..." to a new driveletter it works. In my investigation I did as follows: - Delete the .map fi...
by A. Balslev
Tue May 05, 2020 8:59 pm
Forum: madExcept
Topic: Exception not caught when project is on network drive
Replies: 22
Views: 17143

Re: Exception not caught when project is on network drive

In madExcept.Pas, I have tried to debug the code. I have set a breakpoint all lines where the pointer "Forms_TApplication_HandleException" is assigned. The very first time the code hits a breakpoint is Line 19062: AddPtr(Forms_TApplication_HandleException, HInstance); At this point the poi...
by A. Balslev
Tue May 05, 2020 3:53 pm
Forum: madExcept
Topic: Exception not caught when project is on network drive
Replies: 22
Views: 17143

Re: Exception not caught when project is on network drive

Hi again

I have found in the file madExcept.pas there is a difference in execution:

Line 19452 the pointer
Forms_TApplication_HandleException
is nil in the problematic execution and non-nil in the OK execution

Hopefully this will help

br.

Anders
by A. Balslev
Tue May 05, 2020 3:17 pm
Forum: madExcept
Topic: Exception not caught when project is on network drive
Replies: 22
Views: 17143

Re: Exception not caught when project is on network drive

Yes - very strange.
Try to run both executables, and click on button1
Problem : Just a messagebox showing an exception
OK : The wellknown MadExcept dialog box shows up

I'll try to follow your instructions

br.
Anders
by A. Balslev
Tue May 05, 2020 3:04 pm
Forum: madExcept
Topic: Exception not caught when project is on network drive
Replies: 22
Views: 17143

Re: Exception not caught when project is on network drive

Uploaded to same one-drive server:
https://itqconsult-my.sharepoint.com/:f ... Q?e=Ceikvd
2 executable files
2 new OK_2 and Problem_2 txt-files

br.

Anders
by A. Balslev
Tue May 05, 2020 2:31 pm
Forum: madExcept
Topic: Exception not caught when project is on network drive
Replies: 22
Views: 17143

Re: Exception not caught when project is on network drive

I have created the 2 files (OK.txt and Problem.txt) which are both filled.

I can't upload it since "The extension txt is not allowed." (why?)

Can I send them directly at to an e-mail
br.

Anders
by A. Balslev
Tue May 05, 2020 1:53 pm
Forum: madExcept
Topic: Exception not caught when project is on network drive
Replies: 22
Views: 17143

Re: Exception not caught when project is on network drive

Compiling to Z:
Running from Z: -->Problem
Running from UNC --> Problem

Compiling to UNC
Running from Z: --> No problem
Running from UNC --> No problem

br.

Anders
by A. Balslev
Tue May 05, 2020 1:42 pm
Forum: madExcept
Topic: Exception not caught when project is on network drive
Replies: 22
Views: 17143

Re: Exception not caught when project is on network drive

In both cases I do as follows:

Build
Go to the windows explorer, and double click on the ,EXE file, means running from windows explorer

If you want to look at it, I could share my screen. If so - send a direct mail

br.

Anders
by A. Balslev
Tue May 05, 2020 9:34 am
Forum: madExcept
Topic: Exception not caught when project is on network drive
Replies: 22
Views: 17143

Re: Exception not caught when project is on network drive

Consider a Delphi project is located on a test folder on a HOST computer (carrying a VM) On the VM, I map the project folder to a "Z:\"-drive On the VM, Delphi 10.3.3 is running. I open the project specified by "\\MyHost\MyProjectFolder\MyProject.dproj" Build it Run it. MadExcept...
by A. Balslev
Fri May 01, 2020 1:34 pm
Forum: madExcept
Topic: Exception not caught when project is on network drive
Replies: 22
Views: 17143

Exception not caught when project is on network drive

Mad except ver. 5.0.0 Delphi Rio I develop in Delphi 10.3.3 running on a virtual machine (VMware) I save project files on a shared drive on host I enable MadExcept on the project. By executing "raise Exception.Create('Error Message');" I expected madExcept to catch this, but it doesn't By ...
by A. Balslev
Sat Apr 18, 2020 7:36 pm
Forum: madCollection
Topic: Guide to installation
Replies: 1
Views: 6229

Guide to installation

Hi Madshi Unfortunately, I have been forced to reinstall Delphi (Rio), and I can't find guide how to install MadCollection I do have the madshi.key file, but do not know how to use it (apparently, it's not a key that can be used in the registry. I need a step-by-step guide to install it in my IDE. b...
by A. Balslev
Fri Apr 06, 2012 6:58 pm
Forum: madCollection
Topic: Saving bug report
Replies: 2
Views: 6398

Re: Saving bug report

Thank you very much
It was exactly what I was looking for

b.r.
Anders :D
by A. Balslev
Fri Apr 06, 2012 2:47 pm
Forum: madCollection
Topic: Saving bug report
Replies: 2
Views: 6398

Saving bug report

Hi IDE: Delphi XE2 OS: Win7 I do not know how I can decide an alternative path that the executables directory to store the bugreport. The problem is that during installation of my application, it needs administrative rights with the permission to write files in the executable directory. But in the d...