Page 1 of 1

newLISP with TK the other way round?

Posted: Thu Dec 25, 2003 2:09 pm
by 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.

Posted: Thu Dec 25, 2003 4:13 pm
by Lutz
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

Posted: Thu Dec 25, 2003 7:26 pm
by HPW
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?

Posted: Thu Dec 25, 2003 7:30 pm
by Lutz
No,

Lutz