September 24th, 2004, 05:09 AM
change procedure definition
i was asking this before but didn't get good answer ....
i build an application with one button component and 1 procedure that acts on onclick event.
I compile it and build exe.
But when i would like to change the body of the proc i have to recompile the project ......
Is it possible to have body of the proc stored for ex. iin the txt file and the app would compile it "on the fly"
September 24th, 2004, 08:44 PM
Not if the body of the procedure is written in a compiled language like Delphi or C++ Builder. On the other hand, if you're writing the body of the procedure in some interpreted language like python, you can make the Delphi procedure read the text file and pass the python code on to a python interpreter to process and read the results back.
If you want to use python with delphi, then see this link:
Up the Irons
What Would Jimi Do? Smash amps. Burn guitar. Take the groupies home.
"Death Before Dishonour, my Friends!!" - Bruce D ickinson, Iron Maiden Aug 20, 2005 @ OzzFest
Down with Sharon Osbourne
"I wouldn't hire a butcher to fix my car. I also wouldn't hire a marketing firm to build my website." - Nilpo