Click here to Skip to main content
15,887,585 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
As title, I would like to write a program sharing only specific application ,not full desktop, from server to client such that client's control is limited.I found many source code project for sharing desktop, yet I have no idea how to begin share only application.

What I have tried:

I found many source code project for sharing desktop,but only specific application.
Posted
Updated 25-Nov-17 4:49am
v2
Comments
Richard MacCutchan 25-Nov-17 10:42am    
Just Google "sockets" and see how two PCs can communicate through applications only.
Rick York 25-Nov-17 13:01pm    
You do things practically the same way you would share a desktop. All of the same techniques are used for both things. The only difference is you fire (nearly) all messages on the client side only to your application - not to what ever window on the desktop has focus. As Richard mentioned, sockets are going to be the communication mechanism. Also look up hooks to get an idea of how to catch mouse and keyboard events.

1 solution

Yeah, that's going to be a MASSIVE project. This is going to involve writing a large piece of server software and a client piece.

You're basically going to rewrite a commercial product called Citrix XenApp.

If you have to ask "How do I write an entire application", you don't have the skill set to write that application. It's going to take you quite a long time to do the research into Windows internals and how it works so you can complete this project.

There is so much information required that it's impossible to tell you everything you're going to need to know in a few forum posts. In fact, this would required several books to convey.

Good luck with that. Frankly, unless this was a project just to learn a ton of sh*t, I'd just buy XenApp and be done with it. If you're looking to make a product you can sell, you've got years worth of work to do before you can do that.
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900