Jump to content
alogrep

VCLTee.TeeProcs diff. vesioin of Vcl.Menus.TPopupMenu

Recommended Posts

HI.

I receive this error (delphi 12,3):

  F2051 Unit VCLTee.TeeProcs was compiled with a different version of Vcl.Menus.TPopupMenu

I searched for Vcl.Menus.TPopupMenu.* but nothing exists on the PC.

 

I searched all the VCLTee.TeeProcs.dcu on the PC (attached file (tee.txt)

 

The only menus file I got is Vcl.Menus.pas, which I included in the app.

I tried various combinations of the vcltee in the search path, but none seems to work.

 

By the way, in 

    C:\Program Files (x86)\Embarcadero\Studio\23.0\lib\win32\release

    C:\Program Files (x86)\Embarcadero\Studio\23.0\lib\win64\debug

what the win32/win64 refer to? The O.S. or the app developed (in 32 bit or 64bit)?

Also. i should use the dcu from the debug folder in 23.0 if i am compiling my app

  in debug mode and the one from the release folder in 23.0 if i am compiling in release mode?

  

  

tee.txt

Share this post


Link to post
13 hours ago, alogrep said:

HI.

I receive this error (delphi 12,3):

  F2051 Unit VCLTee.TeeProcs was compiled with a different version of Vcl.Menus.TPopupMenu

I searched for Vcl.Menus.TPopupMenu.* but nothing exists on the PC.

 

I searched all the VCLTee.TeeProcs.dcu on the PC (attached file (tee.txt)

 

The only menus file I got is Vcl.Menus.pas, which I included in the app.

I tried various combinations of the vcltee in the search path, but none seems to work.

 

By the way, in 

    C:\Program Files (x86)\Embarcadero\Studio\23.0\lib\win32\release

    C:\Program Files (x86)\Embarcadero\Studio\23.0\lib\win64\debug

what the win32/win64 refer to? The O.S. or the app developed (in 32 bit or 64bit)?

Also. i should use the dcu from the debug folder in 23.0 if i am compiling my app

  in debug mode and the one from the release folder in 23.0 if i am compiling in release mode?

 

  

 

You usually get these "different version" errors if you have several versions of Delphi/RADStudio installed and try to move an older project to the newer version. Some path setting in the project options then may refer to a folder holding dcus from the older Delphi version and that results in this error when compiling. So check the project options, or delete the project's DPROJ file and open the corresponding DPR in the IDE to make it generate a new DPROJ.

 

Oh, and the lib subfolders hold the dcus needed if you build a program for either the Win32 or Win64 target platform, they have nothing to do with the OS version you are running on.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×