Diese Seite mit anderen teilen ...

Informationen zum Thema:
Forum:
WinDev Forum
Beiträge im Thema:
3
Erster Beitrag:
vor 1 Jahr, 1 Monat
Letzter Beitrag:
vor 1 Jahr, 1 Monat
Beteiligte Autoren:
André Labuschagné, Peter Holemans

WD21 - Generate Dll

Startbeitrag von André Labuschagné am 01.05.2017 15:22

Hi All

Is it possible to generate dlls with WD in order to split up a program and also share those dlls with apps from other languages?

Cheers
André

Antworten:

Hi André,

No, it is not possible to create native/standard DLL's that expose objects, methods, functions, procedures etcetera like you can with any DotNet language or native C/C++, Pascal, java, etc...

A possible solution (although I never investigated this route) could be the creation of DotNet assemblies (DLL format) out of a WD project but I guess there are many limitations as there are many when consuming DotNet assemblies in WX (a route that I did follow several times).

Alternatively you can create a WDL with which you can operate from external languages like C/C++, java, etc but that is extremely limited as there is near to no exposure of the internal structures and it is a pain to code. I wrote several C(dll)->WDL->C(dll) interoperability solutions.
Please let us know if you can get something to work in this sense (by generating WL towards DotNet assemblies). I'll surely be interested although I see a limited interest unless you're only exposing limited WL functionality or you're gradually rewriting an app towards DotNet.

Although WX certainly used to be pretty open for interoperability it is certainly no longer up to the level that a lot of other programming languages have evolved to over the last decade or so. Openness and exposure of the internals is key these days. WX is missing the boat in this area.

Cheers,

Peter Holemans

von Peter Holemans - am 01.05.2017 16:46
Hi Peter

Thanks for that explanation.

Cheers
Andre

von André Labuschagné - am 02.05.2017 11:04
Zur Information:
MySnip.de hat keinen Einfluss auf die Inhalte der Beiträge. Bitte kontaktieren Sie den Administrator des Forums bei Problemen oder Löschforderungen über die Kontaktseite.
Falls die Kontaktaufnahme mit dem Administrator des Forums fehlschlägt, kontaktieren Sie uns bitte über die in unserem Impressum angegebenen Daten.