newLISP with TK the other way round?

Started by HPW, December 25, 2003, 06:09:23 AM

Previous topic - Next topic

HPW

There comes up a question, if it is possible to make newLISP launch a TK-app and use it in the same manner like it is with the current front-end.



So starting newLISP.exe (or DLL) and then when it is neccesary start a TK-interface and make form with (tk .....). Would be interesting option.
Hans-Peter

Lutz

#1
Could be possible. The situation you have here, is the same as if you operate newlisp.exe and newlisp-tk.exe on different computers. In that case you also start newlisp.exe first than newlisp-tk.exe second. Read the section about remote operation in the manual. When launching the frontend from newlisp.exe try doing it with 'process' which will not block but return right away.





Lutz

HPW

#2
But this could only work with newLISP.exe, because newLISP.exe can be started with '-p 64001'. Can I set the DLL in a TCP-server-mode?
Hans-Peter

Lutz

#3
No,



Lutz