Hi, We Want to host the TsPlus Generated Clients in our WPF application so that users feel this is part of our application, but when we Start the client , the moment we want to set the parent window of the client to our WPF application (by using win32 API : SetParent(childHanle, parentHandle)) the client app disappears !!! the problem happens only for remote apps but if we want to host something like note pad, there is no problem.
-side note : we also want to move the client app by code (win32 APIs) to the right position in out app -but this will only matter after hosting the Remote Client!
Remote Desktop Connection app disapears after Hositing in WPF
-
- Posts: 1
- Joined: Sun Dec 10, 2017 6:35 am
Re: Remote Desktop Connection app disapears after Hositing in WPF
Hello,
This means your application may not be suitable to be published as a unique application.
What happens frequently is that your application closes to launch a new application, and in this gap of time TSplus detects that no applications are running and logs off your remote session.
Sometimes an application requires a full profile to be created. In order to do so, you need to open a session once with a full remote desktop for each of your users. This issue can also occur because it got explorer.exe dependencies which is not an issue when a full remote desktop is launched.
I recommend you to first start with assigning the remote desktop or floating panel / remote taskbar. More information about this can be found here : terminalserviceplus.com/docs/remote-taskbar-and-floating-panel
This means your application may not be suitable to be published as a unique application.
What happens frequently is that your application closes to launch a new application, and in this gap of time TSplus detects that no applications are running and logs off your remote session.
Sometimes an application requires a full profile to be created. In order to do so, you need to open a session once with a full remote desktop for each of your users. This issue can also occur because it got explorer.exe dependencies which is not an issue when a full remote desktop is launched.
I recommend you to first start with assigning the remote desktop or floating panel / remote taskbar. More information about this can be found here : terminalserviceplus.com/docs/remote-taskbar-and-floating-panel
Olivier
TSplus support team administrator

TSplus support team administrator
