Jump to content

Cannot compile ISAPI module for 64bit Windows target in XE8


Recommended Posts

Posted
@All

 

I'm using uniGUI 1.0.0.1365 with Delphi XE8.

Within XE8 I select

File, New, Other.

Then select uniGUI for Delphi and select Application Wizard.

Then select ISAPI Module.

Press 'Yes' to enable "Visual Component Library"

 

Now I have Project1 with a MainForm that I want to compile.

But only Target Platform available is 32 bit Windows.

It compiles without problem for 32bit target but I need 64bit target.

 

QUESTION1: How can I set 64 bit target? Why is 64bit target not available by default?

 

I did it the following way, but I'm sure there should be an easier way:

 

Within Project 1.dproj I changed the Platform setting for Win64 from False to True:

 

<Platforms>

                <Platform value="Android">False</Platform>

                <Platform value="iOSDevice32">False</Platform>

                <Platform value="iOSDevice64">False</Platform>

                <Platform value="iOSSimulator">False</Platform>

                <Platform value="OSX32">False</Platform>

                <Platform value="Win32">True</Platform>

                <Platform value="Win64">True</Platform>

            </Platforms>

 

 

Now I was able to see a Win64 target within XE8.

I then selected 64bit Windows as target and tried to Build Project1 again.

Now I get an error:

[dcc64 Fatal Error] uIdGLobal.pas (535): F2613 Unit 'Windows' not found

 

 

QUESTION 2:  How do I fix the problem above. How can I compile a simple MainForm for Win64 target if I have selected 'ISAPI module'?

Posted

This is with 64 bit Windows 10.

Even if I delete the dproj file and then opens the Project again in XE8, then there is only two targets available:

32 bit Windows and IOS Device 64 bit.

How can I set or add 64 bit Windows as target? 

  • Administrators
Posted

Same story. So the problem is with my Delphi XE8?

This PC is running WIndows 10 - 64bit.

So how can I fix my XE8?

Thanks for any help.

 

maybe you have not checked 64-bit compiler option while installing XE8.

Posted

I have just installed Delphi 10.1 Berlin update 2 and I made very sure that I installed 64 bit, but same story.

The only target that's available is Windows 32 bit.

Posted

Yes, I did install 3rd party components.

Right clicking over "Target Platform" and selecting "Add Platform..." allowed me to add 64 bit Windows as target.

Then I also checked the checkbox  to make 64 bit the active platform and now everything works.

Problem solved.

Thanks.

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.

×
×
  • Create New...