Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Programming
»
General
»
Python4Delphi - Error with the function Py_XIncRef
Free Pascal
Website
Downloads
Wiki
Documentation
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Documentation (RTL/FCL/LCL)
Bugtracker
CCR Bugs
IRC channel
GIT
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
FpDebug breakpoint on "be...
by
VisualLab
[
Today
at 02:30:31 pm]
Database standards OR Am ...
by
gidesa
[
Today
at 02:16:21 pm]
Registers dialog - regist...
by
ccrause
[
Today
at 02:10:31 pm]
Forum slow
by
440bx
[
Today
at 02:00:43 pm]
HeapTrc not showing line ...
by
dbannon
[
Today
at 01:17:33 pm]
Converting a string/index...
by
wp
[
Today
at 01:14:55 pm]
AI, NLP and CAI: Text Gen...
by
Dzandaa
[
Today
at 12:51:20 pm]
Access violation when ope...
by
JuhaManninen
[
Today
at 12:31:34 pm]
[solved] how to get class...
by
Thaddy
[
Today
at 12:18:15 pm]
insert select from - with...
by
Nicole
[
Today
at 11:39:34 am]
How to: create DLL file f...
by
paule32
[
Today
at 11:17:12 am]
Offical launch of the 1 B...
by
Gustavo 'Gus' Carreno
[
Today
at 11:14:40 am]
Step-into the field sette...
by
ginoo
[
Today
at 07:50:24 am]
Does anyone know why thes...
by
TYDQ
[
Today
at 05:24:32 am]
Arabic text, problem on L...
by
Zaher
[
Today
at 03:29:16 am]
InstallAware Using Lazaru...
by
TRon
[
Today
at 02:55:41 am]
Generics - correct syntax
by
Blaazen
[
Today
at 01:57:40 am]
Demoscene The Champs Crac...
by
Gigatron
[
Today
at 01:05:16 am]
How to use the Event Log?
by
n7800
[
Today
at 12:47:25 am]
v3.99 code completion que...
by
440bx
[
Today
at 12:45:55 am]
Access violation when re-...
by
TRon
[April 19, 2024, 11:44:51 pm]
Lazarus for Windows on aa...
by
Wallaby
[April 19, 2024, 10:52:25 pm]
Poll: Watches and Display...
by
440bx
[April 19, 2024, 07:13:51 pm]
Who is Indy mattias?
by
paweld
[April 19, 2024, 04:17:53 pm]
I just released a commerc...
by
BrassGear
[April 19, 2024, 03:17:28 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: Python4Delphi - Error with the function Py_XIncRef (Read 1991 times)
Felfra
Newbie
Posts: 4
Python4Delphi - Error with the function Py_XIncRef
«
on:
November 08, 2018, 12:04:05 am »
Hello All
I have an error "unit1.pas(79,3) Error: Identifier not found "Py_XIncRef"
in th body of a function :
procedure TForm1.PythonDelphiVar2ExtGetData(Sender: TObject; var Data: PPyObject
);
begin
Data := FMyPythonObject;
Py_XIncRef(Data);
end;
I have the last versions of Lazarus and Python4Delphi, installed with p4dlaz.lpk. OS: Win10 x64
What can I do ? Anybody has an idea ?
Thank you for your help.
Logged
Felfra
Newbie
Posts: 4
Re: Python4Delphi - Error with the function Py_XIncRef
«
Reply #1 on:
November 08, 2018, 12:12:37 am »
I add that this code is part of th exercise number 4 of the python4delphi tutorial.
Py_XIncRef is not a personal function...
Logged
Felfra
Newbie
Posts: 4
Re: Python4Delphi - Error with the function Py_XIncRef
«
Reply #2 on:
November 08, 2018, 12:27:16 pm »
And i have not found this identifier, Py_XIncRef, in any library or other file of the distribution Python4Delphi, except in PythonEngine.hpp, only a reference
Logged
AlexTP
Hero Member
Posts: 2402
Re: Python4Delphi - Error with the function Py_XIncRef
«
Reply #3 on:
November 08, 2018, 01:36:26 pm »
with GetPythonEngine do
Py****;
Logged
CudaText editor
-
ATSynEdit
-
More from me
Felfra
Newbie
Posts: 4
Re: Python4Delphi - Error with the function Py_XIncRef
«
Reply #4 on:
November 08, 2018, 01:54:47 pm »
Oh, what an entertainment ! I looked for hours !
Thank you very much, Alextp
Logged
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Programming
»
General
»
Python4Delphi - Error with the function Py_XIncRef
TinyPortal
© 2005-2018