Home » Community » Newbie corner » Is it possible to embed a Skylark app in a normal U++ GUI app?
Re: Is it possible to embed a Skylark app in a normal U++ GUI app? [message #37953 is a reply to message #37944] |
Sat, 24 November 2012 15:22  |
|
lectus wrote on Sat, 24 November 2012 13:42 | Hmm.. I think it might be easier to build my GUI app separated and then a webinterface.exe that's launched with ShellExecute ( http://msdn.microsoft.com/en-us/library/windows/desktop/bb76 2153(v=vs.85).aspx) with SW_HIDE parameter to hide the console Window. Or possibly with U++ LocalProcess class for a portable way.
Then when I want it to quit (at the click of the "Quit" button) it can be send to a http://localhost:8001/myapp/quit page, which in Skylark handler code will just end the application process.
|
Yes, that would of course work too... I just didn't know how much do you need it to cooperate If you just need start/stop capability, than it could be much simpler, even when used directly from the GUI part as a thread, especially if you are ok with having a method on interface that triggers the exit (which is by the way in most cases not a good idea, unless it is somehow secured )
Honza
|
|
|
Goto Forum:
Current Time: Wed Apr 30 00:50:31 CEST 2025
Total time taken to generate the page: 0.00827 seconds
|