Jump to content

Juan C.Cilleruelo

Members
  • Content Count

    103
  • Joined

  • Last visited

Posts posted by Juan C.Cilleruelo


  1. I've seen the EvalScript method and the ExecuteScript method of the TPythonEngine component. 


    I need to get from Delphi, some feedback about any problem executing the Python Script. 

            The type of error,

             the line,

             the column where start the problem, etc.     

           

    Does someone have an example of this?

     

    Please, avoid generic responses or responses not related. 

    Thank's all.


  2. 20 hours ago, Juan C.Cilleruelo said:

    I have the following functionality, currently made with PacalScript, and I want to implement it in Python.
     

    I create a script component on the fly and programmatically create some variables of different types inside it. 

    After I load the script proportionated by the user and I execute it.

    If all goes well, I recover the current values of the firstly proportionated variables and apply them to my Delphi program.

    Also, the end user can use some methods implemented in the Delphi main program inside the script.  
     

    Summarizing: 
    1- I need to create variables on the fly inside a Python Script.

    2- I need to create some functions inside a Python script that can be called from it but exists in the host Delphi program.

     

    3- I need to execute the python script that the final user wrote and modify the created variable values. 

       The final user can use all the Python Scripting language and the functions my program gives him.


    4- Finally, I need to recover the current values of the variables created in the first step inside the Python Script and put these values into the original Delphi variables to continue processing.

     


    Can anyone help me or knows where I can find examples of these three functionalities?

     

    I modified the initial explanation to a better understanding of my leisurely objective.

     

    I want to remark that this is currently working with very old and primitive Pascal Scripting Components.

    I know that all of this is possible with python, and I know that by taking considerable time to understand and practice all the capabilities of Python Scripting components, I will be able to do all these things.
    I'm appealing to the knowledge of previous users of these components to simplify my path to the solution.  

    Thanks to all of you. 

     


  3. 27 minutes ago, programmerdelphi2k said:

      This is not related to my questions. "Variable variable names?????"  it seems like a tongue twister!

     

    27 minutes ago, programmerdelphi2k said:

    I don't need to recover anything.

    I need to start a Script with a group of variables created on his memory, and just before freeing this Script Object, recover the Variables.
     

    I'm sorry if my explanations take you a misunderstanding situation.


  4. 36 minutes ago, pyscripter said:

    Thank you for your response, but it is as general as absolutely useless.
     

    Do you know which of these pleiad of demos are the ones that solve each of my requirements?
     

    These are the types of responses really useful.  

    But thanks a lot for your time.
     


  5. I have the following functionality, currently made with PacalScript, and I want to implement it in Python.
     

    I create a script component on the fly and programmatically create some variables of different types inside it. 

    After I load the script proportionated by the user and I execute it.

    If all goes well, I recover the current values of the firstly proportionated variables and apply them to my Delphi program.

    Also, the end user can use some methods implemented in the Delphi main program inside the script.  
     

    Summarizing: 
    1- I need to create variables on the fly inside a Python Script.
    2- I need to recover the current values of some variables inside a Python Script.
    3- I need to create some functions inside a Python script that can be called from it but really exists in the host Delphi program.


    Can anyone help me or knows where I can find examples of these three functionalities?

     


  6. But my question is not about alternatives for Interbase.

    My question is about the lake in the VAR contract to allow the distribution of free end-user versions.

    Seems that for every application we install as a demo we will pay embarcadero. 

     

    It seems that the VAR contract of embarcadero is only accessible for well-established enterprises. 

    New projects must take an alternative database. But if my project was successful with another database, why pay embarcadero for Interbase if my project works well and is cheaper with an alternative one?


  7. Just now, Vandrovnik said:

    I have never tried, but it seems it should work, at least for FB 2.5 they explicitly write about embedded version:

    https://firebirdsql.org/en/firebird-2-5/

    I tried it!!!!!

    Don't work. 

    You need to do a lot of hard work and you need to recompile Firebird entirely to get an unstable version that poorly runs on Mac OS X.

    The version you see in this link is older, very older. Is as older, that you can't distribute the application you create in the Apple Store, because the executable of DB is 32 bits.
    Some years ago that 32bits apps don't run over MacOS X. 


  8. On 6/17/2022 at 9:36 AM, sjordi said:

    Me too when developing Windows apps. 
    NexusDB is great but is not available for cross-platform apps. That's very unfortunate.
    I'm also against pay as you go solutions and think that the VAR program is pretty obscure. For single developers, you need to know the costs in advance, you have no way to determine how successful an app will be. Could be 10 users or 300k users.

    As a single developer, I want to pay a fixed price and then have the freedom of royalty free distribution, just like NexusDB.

    For cross platform, I switched to SQLite, even if not as powerful as Interbase, but it also has a much much much smaller footprint that IB... even if this is a selling point for them to be small...

    Ok. But I don't have a version for Mac OS X, the solution is the same as Firebird but paying, I think. 
     


  9. On 6/17/2022 at 9:32 AM, Fr0sT.Brutal said:

    I wouldn't bother with IB licensing stuff when there's opensource Firebird. Especially if you have "small apps" that unlikely require some unique IB features.

    It is tough to install in Mac OS X as an embedded database. 
    I need Windows and Mac OS X distribution of my software. 

     


  10. On 6/16/2022 at 10:32 PM, Brian Evans said:

    Gave up on this decades ago and used FlashFiler then NexusDB instead.  Mainly for the ease of going from single user embedded to multi-user client/server without licensing issues. 

     

    Note for single user applications higher editions of Delphi come with redistribution rights for IBLite and IBToGo. It's only multiuser that needs server licensing that can cause issues for some sales models like yours. 

    These versions are the ones that have the 100Mb limitations in the DB File.


  11. Recently I've receibed pub for the VAR program for Interbase VARs licence system, and again, as I did years ago, I read it looking for a special paragraf about how Embarcadero/Idera, in this program, consider the Demos or de "Communiy/Free" versions o our applications. 

    I can't find a single line about this.

    For years I accepted that for little applications, like the mine one, Interbase is a very good option. Mainly for applications multiplatform (Windows/Mac), but, my brand system is let the user enjoy with a reduced version of my application free of charge, what involves, I think, pay a licence to Idera/Embarcadero, for every installation of a product for which I do not charge.

    Any one knows if exists some type of disclaimer for free/community versions of applications that includes Interbase with VAR license? 

     

    Well, I know that exists a trial version of interbase that I can install, but have a very high limitation to an application, like mine, that saves graphic information inside the database. His max size for the file of the database is of 100Mb. 
    Today, this is ridiculous. True? 

    • Like 1

  12. On 5/13/2021 at 2:12 PM, Fr0sT.Brutal said:

    Knowing where an app resides in the XXI century?

    Knowing where an app's settings reside in the XXI century?

    Knowing what a "file" is in the XXI century?

    Surely there's still pretty much to un-know (OS vendors seem to be doing everything for this )

    For your security, indeed! (they said)😄


  13. 11 hours ago, Anders Melander said:

    Did you read this pinned topic:

     

    I've used ISO download for the install.

    But, embarcadero must include a first patch to solve this problem, True?

    No one of the methods described in the referred link works for me. And the web version of GetIt do not include "Patches and Fixies" section.

    Thanks Lars!

     

    I'm glad to keep seeing you around here.


  14. I'm just downloaded and installed "RAD Studio, Delphi, C++Builder 10.4 ISO"

     

    And I can see that I can download the next patches:

        RAD Studio 10.4 Patch 1
        10.4 Patch 2 (Professional)
        RAD Studio 10.4 Patch 3

     

    The only thing I understand is that I need the first installed to install de second and so on.

     

    My first question is:
    The version I've just installed doesn't have these patches included?

     

    My next question is: 
    If not, Where are the instructions to install these patches?

     

    I downloaded them and I have three ZIP files. 

    The first has a Patch1.txt with a list of file involved but without any instructions.

    The second ZIP contains another ZIP, an EXE and a BAT file. What's the correct form of installing it?

    The third is like the second. 

     

    ------------------------------------------------------------

    I'm treating to get info about this from the embarcadero webs, but seem that today all the services of embarcadero has problems. 
     


  15. This is my current version installed: Embarcadero® Delphi 10.4 Version 27.0.37889.9797 

     

    I have miodesopsias because of this many years ago I'm using dark mode in all my computers in work mode. 

    When I develop for Windows I have windows in Light theme to see the result in a convenient form.

    But the IDE in Dark mode. 

     

    Well. After installing this version, in the window "Options" of the IDE I select "User Interface" and inside, "Theme Manager". 

    I uncheck "Toggle style to match windows dark and light mode" and after I select the radio button that says "Dark"

     

    When I close Delphi and reopen the IDE is in "Light mode" with the "Toggle.." check box activated. 

    Seems that the desktop configuration file has not saved this option.

    ----------------------------------------

    I'm treating to left an Issue in quality.embarcadero.com, but today seems that nothing is working in his servers. I can't search to see if another user has informed this problem.    


    Anyone have this problem or is an issue with my installation.

    Capture.PNG

×