Hi Ian Try
PyArg_ParseTuple(args,'s',@sFieldName) On 25 Apr 2017 2:43 p.m., "Ian Fear" <[email protected]> wrote: I am converting a project that uses py4D. Have the lates version from github or what ever. Using the function GetPythonEngine.PyArg_ParseTuple(args, 's', [sFieldName]) When sfieldName : PAnsiChar; get a complier error E2001 ordinal type required py4D is expecting a pAnsiChar if I change to sfieldName : AnsiChar; the compiler is happy but the result is #0 a null char I presume any Ideas on this would be greatly appreciated Thanks in advance Ian Ian Fear B Agr Sc (Lincoln) GDip InfSys(Massey) Fear Consulting Ltd 405 Old Taupo Road Rotorua Home /work 07 347 6015 Mobile 027 474 2772 _______________________________________________ NZ Borland Developers Group - Delphi mailing list Post: [email protected] Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to [email protected] with Subject: unsubscribe
_______________________________________________ NZ Borland Developers Group - Delphi mailing list Post: [email protected] Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to [email protected] with Subject: unsubscribe
