[xmlsec] Konverting header files to Pascal

Igor Zlatkovic igor at zlatkovic.com
Wed Jun 2 01:01:58 PDT 2004

On 01.06.2004 15:32, Erik F. Andersen wrote:

> Hello!
> I need to use XMLSec in my Delphi applications and have begun convertering the 
> C-header filen til Pascal. I'm not aiming at convering the whole library, just 
> the parts about signing documents. Fortunately there already exist an API 
> conversion for LibXML2.
> I know C and for the most part I don't have any real problems converting the 
> header-filen, but the file strings.h has me baffled. In this file there are a 
> lot of XMLSEC_EXPORT_VAR const declarations. Does anyone have any idea as how to 
> access variables in a C-DLL from Delphi?

No clue about accessing anything from Delphi, but there is a Pascal 
binding for libxml at http://idom2-pas.sourceforge.net/

If you haven't allready, take a look at it. Libxml exports variables, 
perhaps its Pascal-binding will give a clue about how to do it.


More information about the xmlsec mailing list