[Fwd: Svar: Re: [xmlsec] Konverting header files to Pascal]

Igor Zlatkovic igor at zlatkovic.com
Wed Jun 2 03:25:59 PDT 2004


Forwarding to the mailing list, perhaps someone there knows more.

Ciao,
Igor


-------- Original Message --------
Subject: 	Svar: Re: [xmlsec] Konverting header files to Pascal
Date: 	Wed, 2 Jun 2004 11:14:31 +0200
From: 	Erik F. Andersen <ea at ascott.dk>
Reply-To: 	ea at ascott.dk
To: 	igor at zlatkovic.com
References: 	AAAQNkMAAAQLFVLtAAQq1Gx0wUKFD/Uc



Thanks, it does help. Unfortunately they do not solve the problem af
arrays of chars like

XMLSEC_EXPORT_VAR const xmlChar xmlSecNs[];

I'm trying to get in touch with the original author of the Pascal API
conversion of XMLLib.

Regards,
Erik

  >>> Igor Zlatkovic<igor at zlatkovic.com> 02-06-2004 10:01:58 >>>
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/
<ttp://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.

Ciao,
Igor



More information about the xmlsec mailing list