Forum: Win32/Win64 API (native code)
by imadam,
5. Jun 2019
You can look at it from that point. And it is good point. However, here main reason is to prevent users hogging RDS server since they open multiple application to use (it is easier for them) and if you have 100 users opening up same up 3-4 times, then it is like 400 users on server which should support 100 users :-)
Forum: Win32/Win64 API (native code)
by imadam,
5. Jun 2019
No, I haven't tested it. Will review. But on initial aim, this won't help.
Forum: Win32/Win64 API (native code)
by imadam,
5. Jun 2019
We tested this: http://www.delphidabbler.com/articles?article=13&part=4 and this works on Windows 10 limiting to 1 instance. But it doesn't work on TS. It actually on TS allows only one user to run only once instance. Whom ever get first to it :-(
Forum: Win32/Win64 API (native code)
by imadam,
5. Jun 2019
I read my post again. It is bit confusing :-(. So we started with prototype. Playing around. We were able limit this to one instance of the app on Windows Desktop. However, we would like to be able to set number of instances (like 3 for user 1, 1 for user 2) in Terminal server. Also, if is there some best practice for Delphi developing this kind of apps, it would be great if somebody can share...
Forum: Win32/Win64 API (native code)
by imadam,
5. Jun 2019
Thank you. Looks like same username doesn't work on EN site.
Forum: Win32/Win64 API (native code)
by imadam,
5. Jun 2019
This is new app. Starting from scratch. So Delphi best practice should be applied here :-).
Forum: Win32/Win64 API (native code)
by imadam,
4. Jun 2019
Hello,
I can read a little of German, but to write, not possible. So here is my question in English:
I have Delphi app which need to execute in Windows Terminal Server (nowdays RDS). We would like to be able to control how many instances user can run in their session. So for example:
- user 1 can run two instances of app 1
- user 2 can run 1 instance of app 1
We are able to fix this on...