Jump to content

BastiFantasti

Members
  • Content Count

    9
  • Joined

  • Last visited

Posts posted by BastiFantasti


  1. HI @all

     

    is there a way to create a managed code dll suitable for integration in .net applications?

     

    There is a separate commercially available Delphi / Objective Pascal for .net from RemObjects (Oxygene),

    but I wanted to know if there's a way to do it with e.g. Delphi 10.4 directly.

     

    Thanks in advance

     

    Best regards

    Bastian

     

     


  2. Hi @all


    first of all thanks for that awesome idea to add Python Support in Delphi.

    I really appreciate it!

    Here's what I did so far:

    - installed Python 3.9.2 x64

    - installed Python4Delphi directly from Github (all ok)

    Now I tried to run the included demo projects to get comfortable with the options of this module.

    All test are done with x64 Windows Compiler

    Demo Project 01-06 are executing ok


    ## Demo07

    - First Messagebox showing  up:


        args of foo: ('hello world', 1)

     

     

    but then it prints the following:

     

    [Window Title]
    Demo07

    [Content]
    Form's caption = Demo of Python

    [OK]

     

    and then an Exception pops up

    ---------------------------
    GExperts Debugger Exception Notification
    ---------------------------
    Project Demo07.exe raised exception class EPythonError with message 'Python object "(10, 25)" is not a Delphi class'.
    ---------------------------
    [&Filter ...] [Ignore &All this Session] [Break] [Continue]
    ---------------------------


    But if I get the Python code right it should have created a Python Point Object and print out Point + object handle or values

    then the demo breaks

     

     

    ## Demo31

     

    compiles and starts up ok, but when pressing the Execute button it throws an error:

    ---------------------------
    GExperts Debugger Exception Notification
    ---------------------------
    Project Demo31.exe raised exception class EPyImportError with message 'ImportError: cannot import name 'rtti_var' from 'spam' (unknown location)'.
    ---------------------------
    [&Filter ...] [Ignore &All this Session] [Break] [Continue]
    ---------------------------

    The UI is not created and not shown

     

     

     

     

    This is how far I have tested the embedded demos. 

    Any help is greatly appreciated

     

    Best regards

    Bastian

     

×