Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Win32/Win64 API (native code) (https://www.delphipraxis.net/17-win32-win64-api-native-code/)
-   -   Delphi F2051 Unit Menus was compiled with diffrent..... (https://www.delphipraxis.net/129922-f2051-unit-menus-compiled-diffrent.html)

Razor 27. Feb 2009 22:26


F2051 Unit Menus was compiled with diffrent.....
 
Hello!


I open delphi 2009 and i cant compile no more?Why is this?


Full error is this

[DCC Fatal Error] Project5.dpr(5): F2051 Unit Menus was compiled with a different version of UxTheme.MPI_DISABLED

mkinzler 27. Feb 2009 22:32

Re: F2051 Unit Menus was compiled with diffrent.....
 
As the error says, you have to recompile Menues.pas against the same version of UxTheme

jaenicke 27. Feb 2009 22:33

Re: F2051 Unit Menus was compiled with diffrent.....
 
I think you have another UxTheme.pas or UxTheme.dcu in your search path or a compiled package. You could try to delete all but the standard entries
Code:
$(BDS)\lib;$(BDSUSERDIR)\Imports;$(BDS)\Imports;$(BDS)\Lib\Indy10;$(BDSCOMMONDIR)\Dcp;$(BDS)\include;$(BDS)\RaveReports\Lib
from your search path.
If this doesn't help try a repair installation of your Delphi installation.

Razor 28. Feb 2009 07:35

Re: F2051 Unit Menus was compiled with diffrent.....
 
Zitat:

Zitat von jaenicke
I think you have another UxTheme.pas or UxTheme.dcu in your search path or a compiled package. You could try to delete all but the standard entries
Code:
$(BDS)\lib;$(BDSUSERDIR)\Imports;$(BDS)\Imports;$(BDS)\Lib\Indy10;$(BDSCOMMONDIR)\Dcp;$(BDS)\include;$(BDS)\RaveReports\Lib
from your search path.
If this doesn't help try a repair installation of your Delphi installation.

That helped it!Thanks!

Now you can lock it..

toms 28. Feb 2009 07:46

Re: F2051 Unit Menus was compiled with diffrent.....
 
:idea: Hint: Always try googling an error message first - that's at least how I do it.
You often come across a PAQ and a solution.
In your case, you could have searched for Bei Google suchenwas compiled with a different version of
Google will give you some hits with this term.


Alle Zeitangaben in WEZ +1. Es ist jetzt 10:22 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz