Re: Rekursive Strukturen Parsen in Delphi



Hans-Peter Diettrich wrote:

Bei einer allgemeinen Übersetzung von C Quelltext in Pascal (o.ä.)
kann man Calling-Konventionen etc. komplett vergessen, da der
Compiler nur eine (seine eigene) Konvention verwendet.

Wer will das denn? Es geht hier um die Benutzung von bestehenden DLLs,
z.B. das Windows API, oder populäre APIs von anderen Anbietern. Man
will (oder kann) die ja nicht komplett in Delphi übersetzen und dann
neu kompilieren, oder?

Mein ganzer Artikel bescheibt die Übersetung von C-Header-Dateien in
Delphi Interface Units genau um die exakte ABI der zugehörigen DLLs
hearuszufinden und in Delphi nutzbar zu machen.
--
Rudy Velthuis http://rvelthuis.de

"The difference between fiction and reality? Fiction has to make
sense." -- Tom Clancy
.



Relevant Pages

  • Trouble executing COM+ DLL
    ... We got 4 servers. ... There is a COM+-application defined using roles for security. ... They are all running a COM+-application containing several DLLs ... We are now migrating to Delphi 2005. ...
    (microsoft.public.win32.programmer.ole)
  • Re: VB6, VB2005, or Something Else?
    ... Also you can't compile a DLL with RealBasic at the mean time, ... to 10 years, except for the DLLs. ... library) in Delphi is much more complete and robust than VB itself. ... Microsoft .NET Framework v1.1 Redistributable ...
    (microsoft.public.vb.general.discussion)
  • Re: .Net applications, not optimized for CPU at all?
    ... I mean apart from 'hello world' class of applications (which are comparable to the size of Delphi when using BPLs), the .Net EXE and DLL didn't strike me as being particularly lean at all compared to native versions. ... The .Net DLLs especially are huge, things like Tao.OpenGL, at 2 MB+, is about 10 times the size of the equivalent Delphi *DCU*, and even Microsoft-provided DLLs are huge for the amount of things they do, meaning it's not a programming mistake of non-microsofties that makes the DLLs big, f.i. ... IME .Net EXEs and DLLs size is in the same order of magnitude as their code size, just like for DCUs in Delphi, except that in native Delphi applications, the linker links those DCU into EXE/DLL, that are typically one order of magnitude smaller than their DCUs. ...
    (borland.public.delphi.non-technical)
  • Re: Why wont this work ?
    ... The documentation can be very confusing, one needs to 'learn' how to ... struggling with Delphi, and i was told that Delphi is just as easy as basic, ... AX DLLs and OCXes are really just normal DLLs containing COM objects ... InstalledFlag:Boolean = False; ...
    (alt.comp.lang.borland-delphi)
  • Re: Refering to From of ActiveX DLL
    ... >> Personally I use Delphi for DLLs, ... >I don't know much about Delphi. ... IMO all programmers should have two languages ... 'MASM is a high level language' ...
    (microsoft.public.vb.general.discussion)