F2048 Bad unit format

delphi package - automated exception handling

F2048 Bad unit format

Postby bulletproof » Tue Nov 14, 2017 2:06 am

Code: Select all
[DCC Fatal Error] bpftpserver.dpr(148): F2048 Bad unit format: 'C:\Program Files (x86)\madCollection\madExcept\BDS9\win64\madExcept.dcu' - Expected version: 23.0, Windows Unicode(x86) Found version: 23.0, Windows Unicode(x64)


I just started getting the above error. I'm using Delphi XE2, but I did just install Delphi 10.2. I've tried removing madCollection/madExcept from Delphi and the computer, and reinstalling from website.. but I still get the error when compiling a project that utilizes madExcept.

The project is x86, so it's a little unusual that I see "win64" in the DCU being used.

Ideas?
bulletproof
 
Posts: 2
Joined: Tue Nov 14, 2017 2:01 am

Re: F2048 Bad unit format

Postby bulletproof » Tue Nov 14, 2017 7:59 pm

:confused:

I removed the entire install directory for MadExcept and reinstalled. Problem went away. I believe this was triggered as a result of installing Delphi 10.2. I previous had XE2 only and my suspicion is that the new compiler/toolchain was being called and the *.DCUs found were for a different version of Delphi (either old DCU and new compiler or new DCU and old compiler)... as I had this same problem with a number of other DCUs, completely unrelated to madExcept.
bulletproof
 
Posts: 2
Joined: Tue Nov 14, 2017 2:01 am


Return to madExcept

Who is online

Users browsing this forum: No registered users and 1 guest

cron