On 11/13/06, Leonardo M. Ramé <[EMAIL PROTECTED]> wrote:
I created a Python.pas unit this way using Delphi and it works correctly (note
the cdecl directive
before external):
unit python;
interface
procedure Py_Initialize; cdecl; external 'python24.dll';
procedure Py_Finalize; cdecl; extern
Am Montag, den 13.11.2006, 10:53 +0100 schrieb Michael Van Canneyt:
>
> On Mon, 13 Nov 2006, Marc Santhoff wrote:
>
> > Hi,
> >
> > while planning an XML-centric program I found some related units in the
> > fcl sources and many more inside the lazarus source tree.
> >
> > Which set of them wou
I created a Python.pas unit this way using Delphi and it works correctly (note
the cdecl directive
before external):
unit python;
interface
procedure Py_Initialize; cdecl; external 'python24.dll';
procedure Py_Finalize; cdecl; external 'python24.dll';
function PyRun_SimpleString(_para1:Pch
Try addign cdecl or stdcall at the end
procedure Py_Initialize;external name 'Py_Initialize'; cdecl; // or stdcall;
procedure Py_Finalize;external name 'Py_Finalize'; cdecl; // or stdcall;
--- Adrian Maier <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I am trying to write a program that is embedding
Hello,
I am trying to write a program that is embedding the python interpreter
in order to execute python code. I don't need to transfer values between
pascal and python.
More specifically, I'm trying to convert to pascal the following:
#include
int main(int argc, char *argv[])
{
Py_Initiali
On Mon, 13 Nov 2006 10:53:29 +0100 (CET)
Michael Van Canneyt <[EMAIL PROTECTED]> wrote:
>
>
> On Mon, 13 Nov 2006, Marc Santhoff wrote:
>
> > Hi,
> >
> > while planning an XML-centric program I found some related units in
> > the fcl sources and many more inside the lazarus source tree.
> >
>
On Mon, 13 Nov 2006, Marc Santhoff wrote:
> Hi,
>
> while planning an XML-centric program I found some related units in the
> fcl sources and many more inside the lazarus source tree.
>
> Which set of them would be the best choice?
It depends on what you want. The XML support in FPC is based
Hi,
while planning an XML-centric program I found some related units in the
fcl sources and many more inside the lazarus source tree.
Which set of them would be the best choice?
According to the comments in some files there is (or was) change to
come.
Do these xml parsers validate against a sch