Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Programmieren allgemein (https://www.delphipraxis.net/40-programmieren-allgemein/)
-   -   In einer Delphi-Applikationen eine 64Bit DLL einbinden (https://www.delphipraxis.net/155892-einer-delphi-applikationen-eine-64bit-dll-einbinden.html)

Chemiker 11. Nov 2010 21:00

In einer Delphi-Applikationen eine 64Bit DLL einbinden
 
Hallo,

ist es eigentlich möglich in einer Delphi-Applikation eine 64Bit DLL (VS 2010 C++) einzubinden?

Bis bald Chemiker

mkinzler 11. Nov 2010 21:09

AW: In einer Delphi-Applikationen eine 64Bit DLL einbinden
 
Kommt darauf an. Handelt es sich um eine Com-Dll?

himitsu 11. Nov 2010 21:14

AW: In einer Delphi-Applikationen eine 64Bit DLL einbinden
 
Direkt einbinden geht garnicht.

Eine 64 Bit-DLL kann nur in einer 64 Bit-Anwendung laufen,
genauso wie eine 32 Bit-DLL nur in eine 32 Bit-Anwendung reinpaßt.
Und Delphi gibt es halt nur für 16 oder 32 Bit.

Als Out of Prozess-COM-Objekt könnte es gehn, da dieses in einem externen 64 Bit-Host laufen würde.

Chemiker 11. Nov 2010 21:29

AW: In einer Delphi-Applikationen eine 64Bit DLL einbinden
 
Hallo,

Zitat:

Zitat von mkinzler
Kommt darauf an. Handelt es sich um eine Com-Dll?

Nein, es war einfach ein spontaner Einfall, um die Umstellung von Delphi nach C++ schneller hinzukriegen.

Zitat:

Zitat von himitsu
Eine 64 Bit-DLL kann nur in einer 64 Bit-Anwendung laufen,
genauso wie eine 32 Bit-DLL nur in eine 32 Bit-Anwendung reinpaßt.

Win 7 64Bit muss das doch auch irgendwie hinkriegen.

Bis bald Chemiker

himitsu 11. Nov 2010 21:38

AW: In einer Delphi-Applikationen eine 64Bit DLL einbinden
 
Nein.

Eine 32 Bit-DLL/Anwendung kommt nur mit einer 32-Bit Speicherverwaltung zurecht.
Und eine 64 Bit-DLL/Anwendung eben nur mit einer 64-Bit Speicherverwaltung.

xZise 11. Nov 2010 21:38

AW: In einer Delphi-Applikationen eine 64Bit DLL einbinden
 
Moin,
Zitat:

Zitat von Chemiker (Beitrag 1061077)
[...]
Zitat:

Zitat von himitsu
Eine 64 Bit-DLL kann nur in einer 64 Bit-Anwendung laufen,
genauso wie eine 32 Bit-DLL nur in eine 32 Bit-Anwendung reinpaßt.

Win 7 64Bit muss das doch auch irgendwie hinkriegen.[...]

Nö, wieso meinst du das?

MfG
Fabian

USchuster 11. Nov 2010 21:50

AW: In einer Delphi-Applikationen eine 64Bit DLL einbinden
 
Vielleicht hilft folgendes CC item ID: 27667, Delphi32 to 64-bit bridge


Alle Zeitangaben in WEZ +1. Es ist jetzt 21:54 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