C++Talk.NET Forum Index C++Talk.NET
C++ language newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Portable Dynamic/Shared-Library Abstraktion

 
Post new topic   Reply to topic    C++Talk.NET Forum Index -> C++ (German)
View previous topic :: View next topic  
Author Message
Hans Pabst
Guest





PostPosted: Tue Sep 09, 2003 10:02 am    Post subject: Portable Dynamic/Shared-Library Abstraktion Reply with quote



Hallo,

kennt ihr eine portable, gepflegte (ala boost.org) Möglichkeit vom
OS-spezifischen Nachladen von Code (DLL, shared library usw.) zu
abstrahieren? Ziel ist die Ausführung eine namentlich bekannten Funktion.
Vielleicht kennt jemand etwas Vergleichbares zu Qt's QLibrary.

Gruß, Hans.

--
de.comp.lang.iso-c++ - Moderation: mailto:voyager+mod (AT) bud (DOT) prima.de
FAQ: http://www.voyager.prima.de/cpp/ mailto:voyager+send-faq (AT) bud (DOT) prima.de
Back to top
Hans Pabst
Guest





PostPosted: Tue Sep 09, 2003 2:08 pm    Post subject: Re: Portable Dynamic/Shared-Library Abstraktion Reply with quote



Tja,
da will ich mir mal selbst antworten - vielleicht interessiert es noch
jemanden: libltdl (GNU) ist ein gutes Stichwort...

--
de.comp.lang.iso-c++ - Moderation: mailto:voyager+mod (AT) bud (DOT) prima.de
FAQ: http://www.voyager.prima.de/cpp/ mailto:voyager+send-faq (AT) bud (DOT) prima.de
Back to top
Martin Horst
Guest





PostPosted: Thu Sep 11, 2003 4:17 pm    Post subject: Re: Portable Dynamic/Shared-Library Abstraktion Reply with quote



On Tue, 9 Sep 2003 16:08:15 +0200, "Hans Pabst" <hfp (AT) epost (DOT) de> wrote:

Hi,

Quote:
Tja,
da will ich mir mal selbst antworten - vielleicht interessiert es noch
jemanden: libltdl (GNU) ist ein gutes Stichwort...

mich würde es mal interessieren, wie und ob das für ganze Klassen
geht. Unter Windows kann man ja ganze Klasse in DLLs packen
und von dort auch im Programm verwenden. Nur ist das eben
(wie DLLs auch) nicht portabel.
Ich sehe jetzt mal von einem Interface basierten System ab.

Gruß
Martin

--
de.comp.lang.iso-c++ - Moderation: mailto:voyager+mod (AT) bud (DOT) prima.de
FAQ: http://www.voyager.prima.de/cpp/ mailto:voyager+send-faq (AT) bud (DOT) prima.de

Back to top
Torsten Robitzki
Guest





PostPosted: Thu Sep 11, 2003 9:22 pm    Post subject: Re: Portable Dynamic/Shared-Library Abstraktion Reply with quote

Martin Horst wrote:
Quote:
On Tue, 9 Sep 2003 16:08:15 +0200, "Hans Pabst" <hfp (AT) epost (DOT) de> wrote:

Hi,


Tja,
da will ich mir mal selbst antworten - vielleicht interessiert es noch
jemanden: libltdl (GNU) ist ein gutes Stichwort...


mich würde es mal interessieren, wie und ob das für ganze Klassen
geht. Unter Windows kann man ja ganze Klasse in DLLs packen
und von dort auch im Programm verwenden. Nur ist das eben
(wie DLLs auch) nicht portabel.
Ich sehe jetzt mal von einem Interface basierten System ab.

Unter OpenVMS ist das auch möglich, dort heissen die allerdings shared
libraries und enden wie alle Dateien, in den auszuführender Code steckt
auf .exe. Es ist jedoch etwas komplizierter, gezielt nur bestimmte
Klassen aus den image zu exportieren.

mfg Torsten

--
de.comp.lang.iso-c++ - Moderation: mailto:voyager+mod (AT) bud (DOT) prima.de
FAQ: http://www.voyager.prima.de/cpp/ mailto:voyager+send-faq (AT) bud (DOT) prima.de

Back to top
Display posts from previous:   
Post new topic   Reply to topic    C++Talk.NET Forum Index -> C++ (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.