Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork320
Sample code for object creation via pyd-file#473
-
I'd like to be able to create instance of a given class, and do this via a pyd-file. In the demos there seems to "only" samples from GUI-applications? Is there a sample where this is done at run time? |
BetaWas this translation helpful?Give feedback.
All reactions
👀 1
Please see the examples of created python extension modules (pyd extension) in the Modules subdirectory.
Replies: 1 comment 2 replies
-
Please see the examples of created python extension modules (pyd extension) in the Modules subdirectory. |
BetaWas this translation helpful?Give feedback.
All reactions
👍 1
-
I think I may have not formulated myself very clearly. What I was looking for was sample code, that allows me to expose the constructtion of Delphi types in Python. I went through the demo more carefully, and I believe what I am looking for is Demo34, where instances of a type |
BetaWas this translation helpful?Give feedback.
All reactions
-
You may want to have a look athttps://github.com/pyscripter/python4delphi/blob/master/Tests/WrapDelphiTest.pas which shows/tests different ways of exposing delphi objects, interfaces and records. |
BetaWas this translation helpful?Give feedback.
All reactions
👍 1