Re: Creating pascal header for a DLL



When you have C++ headers, you're f***ed :) C++ and Delphi are not
compatible. It would work if you have C headers (a so-called flat C dll).

Well, perhaps maybe (a big perhaps) there are ways around this, but the
times I tried I gave up.

What you could also try is write an ActiveX wrapper in C++ (using Visual
Studio), and use that ActiveX from your Delphi code. I've done this with
success a couple of times.

Nils

"John Venture" <nospam@xxxxxxxxxx> schreef in bericht
news:474fd366$1@xxxxxxxxxxxxxxxxxxxxxxxxx
Hello,

is there a tool for creating pascal header for DLL's ?

when you have c++ headers.

Thanks

John


.



Relevant Pages

  • Re: [LogoForum] arguments evaluation sequence
    ... > which automatically searches the function "registerPrimitives " in a user ... > that dll. ... that uses your DLL (i.e. no need to search for registered primitives). ... No other libraries or headers need to be installed, ...
    (comp.lang.logo)
  • Re: Subject: Forcing a .NET obj exposed as COM to use StdCall instead of CdCall
    ... I've seen these extension scripts in products like Mercator and PoepleSoft. ... They basically load a DLL and call a method in it by using GetProcAddress ... headers> // Windows Header Files: ...
    (microsoft.public.dotnet.general)
  • Re: how to export global variable in C dll?
    ... DLL will not link. ... Avoid including CRT/PSDK headers in your DLL headers. ... inside extern "C" block, they're still definitions. ... Now these globals are exported without name mangling ...
    (microsoft.public.vc.language)
  • Re: how to export global variable in C dll?
    ... DLL will not link. ... Avoid including CRT/PSDK headers in your DLL headers. ... In this file define global variables. ... Now these globals are exported without name mangling ...
    (microsoft.public.vc.language)
  • missing header files
    ... on the option "a DLL that exports some symbols" ... its a web dll using ISAPI. ... "not using MFC" ... // Insert your headers here ...
    (microsoft.public.windowsce.embedded.vc)