AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Thema durchsuchen
Ansicht
Themen-Optionen

Komponenten auf x64 Bit umstellen

Ein Thema von lowmax_5 · begonnen am 4. Mai 2015 · letzter Beitrag vom 15. Nov 2018
Antwort Antwort
Seite 1 von 2  1 2      
lowmax_5

Registriert seit: 9. Mai 2003
Ort: Münster, NRW
257 Beiträge
 
Delphi 11 Alexandria
 
#1

Komponenten auf x64 Bit umstellen

  Alt 4. Mai 2015, 10:19
Hallo,

ich möchte vorandene 32-Bit-Komponenten (Source existiert) so umbauen, dass diese auch unter Win64-Bit eingesetzt werden können.
Wie muss das Package umgebaut/erweitert werden, damit die Zielplattform '64-Bit Windows' im Projektmanager verfügbar wird?

Aktuell steht als Zielplattform nur Android/Ios zur Verfügung. 64-Bit Windows' steht als Auswahl gar nicht zur Verfügung.

Geändert von lowmax_5 ( 4. Mai 2015 um 10:26 Uhr)
  Mit Zitat antworten Zitat
Benutzerbild von Uwe Raabe
Uwe Raabe

Registriert seit: 20. Jan 2006
Ort: Lübbecke
10.995 Beiträge
 
Delphi 12 Athens
 
#2

AW: Komponenten auf x64 Bit umstellen

  Alt 4. Mai 2015, 10:39
Das Kontextmenü bei Zielplattform mit dem Menüpunkt Plattform hinzufügen... hast du schon probiert?
Uwe Raabe
Certified Delphi Master Developer
Embarcadero MVP
Blog: The Art of Delphi Programming
  Mit Zitat antworten Zitat
lowmax_5

Registriert seit: 9. Mai 2003
Ort: Münster, NRW
257 Beiträge
 
Delphi 11 Alexandria
 
#3

AW: Komponenten auf x64 Bit umstellen

  Alt 4. Mai 2015, 10:51
Zitat:
Das Kontextmenü bei Zielplattform mit dem Menüpunkt Plattform hinzufügen... hast du schon probiert?
... ja, das hatte ich schon probiert, aber die 64-Bit Windows Plattform steht dort nicht zur Verfügung.
  Mit Zitat antworten Zitat
Benutzerbild von Uwe Raabe
Uwe Raabe

Registriert seit: 20. Jan 2006
Ort: Lübbecke
10.995 Beiträge
 
Delphi 12 Athens
 
#4

AW: Komponenten auf x64 Bit umstellen

  Alt 4. Mai 2015, 10:53
Kannst du mal die dproj-Datei hier anhängen?
Uwe Raabe
Certified Delphi Master Developer
Embarcadero MVP
Blog: The Art of Delphi Programming
  Mit Zitat antworten Zitat
Benutzerbild von himitsu
himitsu

Registriert seit: 11. Okt 2003
Ort: Elbflorenz
43.115 Beiträge
 
Delphi 12 Athens
 
#5

AW: Komponenten auf x64 Bit umstellen

  Alt 4. Mai 2015, 11:31
Notfalls der "Standardweg"
  • die dproj löschen
  • dproj durch Öffnen der dpr neu erstellen lassen
  • nötige Projektoptionen erneut eintragen (falls es welche gab)
Garbage Collector ... Delphianer erzeugen keinen Müll, also brauchen sie auch keinen Müllsucher.
my Delphi wish list : BugReports/FeatureRequests
  Mit Zitat antworten Zitat
lowmax_5

Registriert seit: 9. Mai 2003
Ort: Münster, NRW
257 Beiträge
 
Delphi 11 Alexandria
 
#6

AW: Komponenten auf x64 Bit umstellen

  Alt 4. Mai 2015, 11:33
Hier die *.dproj-Datei:


Code:
   <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
      <PropertyGroup>
         <ProjectGuid>{E493EFF7-ACF2-47A8-971A-74C0DD99BBA6}</ProjectGuid>
         <MainSource>zcolor.dpk</MainSource>
         <Base>True</Base>
         <Config Condition="'$(Config)'==''">Debug</Config>
         <TargetedPlatforms>1</TargetedPlatforms>
         <AppType>Package</AppType>
         <FrameworkType>VCL</FrameworkType>
         <ProjectVersion>13.4</ProjectVersion>
         <Platform Condition="'$(Platform)'==''">Win32</Platform>
      </PropertyGroup>
      <PropertyGroup Condition="'$(Config)'=='Base' or '$(Base)'!=''">
         <Base>true</Base>
      </PropertyGroup>
      <PropertyGroup Condition="('$(Platform)'=='Win32' and '$(Base)'=='true') or '$(Base_Win32)'!=''">
         <Base_Win32>true</Base_Win32>
         <CfgParent>Base</CfgParent>
         <Base>true</Base>
      </PropertyGroup>
      <PropertyGroup Condition="'$(Config)'=='Release' or '$(Cfg_1)'!=''">
         <Cfg_1>true</Cfg_1>
         <CfgParent>Base</CfgParent>
         <Base>true</Base>
      </PropertyGroup>
      <PropertyGroup Condition="'$(Config)'=='Debug' or '$(Cfg_2)'!=''">
         <Cfg_2>true</Cfg_2>
         <CfgParent>Base</CfgParent>
         <Base>true</Base>
      </PropertyGroup>
      <PropertyGroup Condition="'$(Base)'!=''">
         <DesignOnlyPackage>true</DesignOnlyPackage>
         <DCC_ImageBase>00400000</DCC_ImageBase>
         <GenPackage>true</GenPackage>
         <VerInfo_Keys>CompanyName=;FileDescription=;FileVersion=1.0.0.0;InternalName=;LegalCopyright=;LegalTrademarks=;OriginalFilename=;ProductName=;ProductVersion=1.0.0.0;Comments=</VerInfo_Keys>
         <DCC_LocalDebugSymbols>false</DCC_LocalDebugSymbols>
         <DCC_DebugInformation>false</DCC_DebugInformation>
         <DCC_WriteableConstants>true</DCC_WriteableConstants>
         <DCC_Namespace>Vcl;Vcl.Imaging;Vcl.Touch;Vcl.Samples;Vcl.Shell;System;Xml;Data;Datasnap;Web;Soap;Winapi;$(DCC_Namespace)</DCC_Namespace>
         <DCC_Description>ZColorStringGrid component</DCC_Description>
         <DCC_N>false</DCC_N>
         <DCC_K>false</DCC_K>
         <GenDll>true</GenDll>
         <DCC_S>false</DCC_S>
         <DCC_F>false</DCC_F>
         <DCC_AssertionsAtRuntime>false</DCC_AssertionsAtRuntime>
         <DCC_SymbolReferenceInfo>0</DCC_SymbolReferenceInfo>
         <DCC_E>false</DCC_E>
         <VerInfo_Locale>1049</VerInfo_Locale>
      </PropertyGroup>
      <PropertyGroup Condition="'$(Base_Win32)'!=''">
         <Icon_MainIcon>zcolor_Icon.ico</Icon_MainIcon>
         <DCC_Namespace>System.Win;Data.Win;Datasnap.Win;Web.Win;Soap.Win;Xml.Win;Bde;$(DCC_Namespace)</DCC_Namespace>
         <VerInfo_IncludeVerInfo>true</VerInfo_IncludeVerInfo>
         <VerInfo_Locale>1033</VerInfo_Locale>
         <VerInfo_Keys>CompanyName=;FileDescription=;FileVersion=1.0.0.0;InternalName=;LegalCopyright=;LegalTrademarks=;OriginalFilename=;ProductName=;ProductVersion=1.0.0.0;Comments=</VerInfo_Keys>
      </PropertyGroup>
      <PropertyGroup Condition="'$(Cfg_1)'!=''">
         <DCC_LocalDebugSymbols>false</DCC_LocalDebugSymbols>
         <DCC_DebugInformation>false</DCC_DebugInformation>
         <DCC_SymbolReferenceInfo>0</DCC_SymbolReferenceInfo>
         <DCC_Define>RELEASE;$(DCC_Define)</DCC_Define>
      </PropertyGroup>
      <PropertyGroup Condition="'$(Cfg_2)'!=''">
         <DCC_Define>DEBUG;$(DCC_Define)</DCC_Define>
         <DCC_Optimize>false</DCC_Optimize>
         <DCC_GenerateStackFrames>true</DCC_GenerateStackFrames>
      </PropertyGroup>
      <ItemGroup>
         <DelphiCompile Include="$(MainSource)">
            <MainSource>MainSource</MainSource>
         </DelphiCompile>
         <DCCReference Include="..\..\src\ZColorStringGrid.dcr"/>
         <DCCReference Include="..\..\src\zclabel.dcr"/>
         <DCCReference Include="vcl.dcp"/>
         <DCCReference Include="..\..\src\zcftext.pas"/>
         <DCCReference Include="..\..\src\ZColorStringGrid.pas">
            <Form>ZColorStringGrid</Form>
         </DCCReference>
         <DCCReference Include="..\..\src\zclab.pas">
            <Form>zclab</Form>
         </DCCReference>
         <BuildConfiguration Include="Debug">
            <Key>Cfg_2</Key>
            <CfgParent>Base</CfgParent>
         </BuildConfiguration>
         <BuildConfiguration Include="Base">
            <Key>Base</Key>
         </BuildConfiguration>
         <BuildConfiguration Include="Release">
            <Key>Cfg_1</Key>
            <CfgParent>Base</CfgParent>
         </BuildConfiguration>
      </ItemGroup>
      <ProjectExtensions>
         <Borland.Personality>Delphi.Personality.12</Borland.Personality>
         <Borland.ProjectType>Package</Borland.ProjectType>
         <BorlandProject>
            <Delphi.Personality>
               <Source>
                  <Source Name="MainSource">zcolor.dpk</Source>
               </Source>
               <VersionInfo>
                  <VersionInfo Name="IncludeVerInfo">False</VersionInfo>
                  <VersionInfo Name="AutoIncBuild">False</VersionInfo>
                  <VersionInfo Name="MajorVer">1</VersionInfo>
                  <VersionInfo Name="MinorVer">0</VersionInfo>
                  <VersionInfo Name="Release">0</VersionInfo>
                  <VersionInfo Name="Build">0</VersionInfo>
                  <VersionInfo Name="Debug">False</VersionInfo>
                  <VersionInfo Name="PreRelease">False</VersionInfo>
                  <VersionInfo Name="Special">False</VersionInfo>
                  <VersionInfo Name="Private">False</VersionInfo>
                  <VersionInfo Name="DLL">False</VersionInfo>
                  <VersionInfo Name="Locale">1049</VersionInfo>
                  <VersionInfo Name="CodePage">1251</VersionInfo>
               </VersionInfo>
               <VersionInfoKeys>
                  <VersionInfoKeys Name="CompanyName"/>
                  <VersionInfoKeys Name="FileDescription"/>
                  <VersionInfoKeys Name="FileVersion">1.0.0.0</VersionInfoKeys>
                  <VersionInfoKeys Name="InternalName"/>
                  <VersionInfoKeys Name="LegalCopyright"/>
                  <VersionInfoKeys Name="LegalTrademarks"/>
                  <VersionInfoKeys Name="OriginalFilename"/>
                  <VersionInfoKeys Name="ProductName"/>
                  <VersionInfoKeys Name="ProductVersion">1.0.0.0</VersionInfoKeys>
                  <VersionInfoKeys Name="Comments"/>
               </VersionInfoKeys>
            </Delphi.Personality>
            <Platforms>
               <Platform value="Win32">True</Platform>
            </Platforms>
         </BorlandProject>
         <ProjectFileVersion>12</ProjectFileVersion>
      </ProjectExtensions>
      <Import Condition="Exists('$(BDS)\Bin\CodeGear.Delphi.Targets')" Project="$(BDS)\Bin\CodeGear.Delphi.Targets"/>
      <Import Condition="Exists('$(APPDATA)\Embarcadero\$(BDSAPPDATABASEDIR)\$(PRODUCTVERSION)\UserTools.proj')" Project="$(APPDATA)\Embarcadero\$(BDSAPPDATABASEDIR)\$(PRODUCTVERSION)\UserTools.proj"/>
   </Project>
  Mit Zitat antworten Zitat
Benutzerbild von Uwe Raabe
Uwe Raabe

Registriert seit: 20. Jan 2006
Ort: Lübbecke
10.995 Beiträge
 
Delphi 12 Athens
 
#7

AW: Komponenten auf x64 Bit umstellen

  Alt 4. Mai 2015, 12:58
Ergänze doch im Abschnitt <Platforms> kurz vor Ende der Datei mal diese Zeile:

                <Platform value="Win64">False</Platform>
Uwe Raabe
Certified Delphi Master Developer
Embarcadero MVP
Blog: The Art of Delphi Programming
  Mit Zitat antworten Zitat
lowmax_5

Registriert seit: 9. Mai 2003
Ort: Münster, NRW
257 Beiträge
 
Delphi 11 Alexandria
 
#8

AW: Komponenten auf x64 Bit umstellen

  Alt 4. Mai 2015, 15:30
Zitat:
Ergänze doch im Abschnitt <Platforms> kurz vor Ende der Datei mal diese Zeile:

<Platform value="Win64">False</Platform>
Super, dass hat funktioniert. Ich konnte nun die Zielplattform hinzufügen udn kompilieren.

Wo es aktuell noch hakt, ist das Ausgabeverzeichnis für die DCU's.
Ich habe die Pfade Ausgabeverzeichnis für Units eingetragen aber die Dateien werden nicht dort placiert:

Code:
.\Lib\Win64\Release\
.\Lib\Win64\Debug\
.\Lib\Win32\Release\
.\Lib\Win32\Debug\
Habe ich hier einen Gedankenfehler gemacht?
  Mit Zitat antworten Zitat
Benutzerbild von Uwe Raabe
Uwe Raabe

Registriert seit: 20. Jan 2006
Ort: Lübbecke
10.995 Beiträge
 
Delphi 12 Athens
 
#9

AW: Komponenten auf x64 Bit umstellen

  Alt 4. Mai 2015, 15:46
Wo es aktuell noch hakt, ist das Ausgabeverzeichnis für die DCU's.
Ich habe die Pfade Ausgabeverzeichnis für Units eingetragen aber die Dateien werden nicht dort placiert:

Code:
.\Lib\Win64\Release\
.\Lib\Win64\Debug\
.\Lib\Win32\Release\
.\Lib\Win32\Debug\
Habe ich hier einen Gedankenfehler gemacht?
Sollte eigentlich funktionieren. Du kannst das aber wesentlich einfacher erreichen, indem du in deiner Basis-Konfiguration als Ausgabepfad ".\Lib\$(Platform)\$(Config)" einträgst und die Einträge in den davon abgeleiten Konfigurationen entfernst (damit die Basis-Einstellung übernommen wird).
Uwe Raabe
Certified Delphi Master Developer
Embarcadero MVP
Blog: The Art of Delphi Programming
  Mit Zitat antworten Zitat
lowmax_5

Registriert seit: 9. Mai 2003
Ort: Münster, NRW
257 Beiträge
 
Delphi 11 Alexandria
 
#10

AW: Komponenten auf x64 Bit umstellen

  Alt 4. Mai 2015, 16:35
... hat funktioniert - die Dcu's waren Da! Vielen Dank!!!
  Mit Zitat antworten Zitat
Antwort Antwort
Seite 1 von 2  1 2      


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 20:43 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