Jump to content

How to Install uniGUI on XE and XE2 on the same PC


AMIT

Recommended Posts

I have installed uniGUI on XE and XE2. XE has no problem at all but XE2 has a problem about the unit reference. For example the error will be on uses clause and any place that has unit reference when compile in XE2

 

uses Windows, ...

 

I have to add directive and put WinApi. in front of Windows.

 

uses
{$IFDEF VER230}
  WinApi.Windows,
{$ELSE}
  Windows,
{$ENDIF}
...

There are many places to fix them and I can not finish them all. Is there any other way to fix these problems?

 

I've just found that if I create a new project there is no problem when compile. If I open the old project which was created from XE then compile it will error.

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...