Pass variables to programm


Active Member
Licensed User
How can I pass a variable to a b4p programm?
I think i should do it over a command line parameter but the programm should be running all time and not just been launched and stopped everytime.

I also dont want to do it over registry or files who are checked constantly

Thanks for your help


Licensed User
You could do this with the Network library. The running program implements a Server object and occasionally checks the Pending property. The program that wants to send the information implements a Client and connects to the server when required.

An example is here