Quote:I want to know some reasons why people want to pass C# code to LA to compile and execute
Previously, I had some PowerShell automation scripts that were difficult to implement using PowerShell. Due to the availability of existing C# code, I edited the C# code using LINQPad and then called and executed it using the command line method below.
lprun7 -lang=P cs8.linq "Lisa"
until I met QM. Now I use QM exclusively to achieve my goals.
For my work, using QM is enough, but C# has many free libraries and functions, which can be a supplement to QM.
Quote:Use C# compiler at run time
It seems a bit complicated. I have a simple unverified idea:
In QM, send a window message to LA to append the C# code to the end of the HTTP server script.
Then execute the command in QM, Is this possible?
LaHttpCall("Main2" "name=Lisa")
Macro Macro10