passion1 Posted January 24, 2017 Posted January 24, 2017 @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'? Quote
Sherzod Posted January 24, 2017 Posted January 24, 2017 Hi, Are you using a 32-bit Windows development PC?! Best regards. Quote
Administrators Farshad Mohajeri Posted January 24, 2017 Administrators Posted January 24, 2017 Your problem seems to be related to your current .dproj file. It happens in Delphi sometimes and it should not happen in a new project. Quote
passion1 Posted January 25, 2017 Author Posted January 25, 2017 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? Quote
Administrators Farshad Mohajeri Posted January 25, 2017 Administrators Posted January 25, 2017 Can you test this with a regular VCL project? Quote
passion1 Posted January 25, 2017 Author Posted January 25, 2017 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. Quote
Administrators Farshad Mohajeri Posted January 25, 2017 Administrators Posted January 25, 2017 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. Quote
passion1 Posted January 26, 2017 Author Posted January 26, 2017 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. Quote
ZigZig Posted January 26, 2017 Posted January 26, 2017 Did you install third-party components ? Quote
Administrators Farshad Mohajeri Posted January 26, 2017 Administrators Posted January 26, 2017 Delphi edition? Quote
passion1 Posted January 26, 2017 Author Posted January 26, 2017 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. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.