AGB  ·  Datenschutz  ·  Impressum  







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

Component From Dll

Ein Thema von mohfa · begonnen am 17. Mai 2008 · letzter Beitrag vom 18. Mai 2008
 
Medium

Registriert seit: 23. Jan 2008
3.688 Beiträge
 
Delphi 2007 Enterprise
 
#5

Re: Component From Dll

  Alt 17. Mai 2008, 18:33
You might be able to let a DLL create an object and use in your host (named pipes, clipboard, WM_COPYDATA), and maybe even reroute the logic of a class to the DLL, but you will always need at least an empty prototype of that class declared in the namespace of your application to access methods and fields/properties. There might even be a way to write your own little "RTTI", with which you could do this for arbitrary structures, but as this term already indicates: This wouldn't have too much in common with objects/classes in the common sense.
Further more, to attempt this for already existing classes, you would have to essentially rewrite them, or at least modify them heavily. What will never work is, that you could install them as actual "components", so that you could move and edit these inside the Delphi IDE.

Maybe COM/ActiveX can take you there, but again, heavy modifications will probably be neccessary, and since I'm not too familiar with these, I don't know whether there are serious downsides while using them.

In any case, this will result in a more or less dirty hack
"When one person suffers from a delusion, it is called insanity. When a million people suffer from a delusion, it is called religion." (Richard Dawkins)
  Mit Zitat antworten Zitat
 


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 00:19 Uhr.
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz