Jump to content

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


AMIT
 Share

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...