how to use terminal services in server and client applications for application sharing...

i am interested in developing a "Application Sharing" application.

I know VC++.  I hope Terminal Services in Windows 2000 Server can be used for my application. (I don't know exactly however...).  

When reading MSDN 2000, there is lot of references for functions, structures.   But there is no sample code even for a single function.

I have no idea about how to use that functions....

I also don't know what are header files, library files needed to use terminal services...

----------------


bhaskeyAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

bhaskeyAuthor Commented:
If terminal services cannot be used, suggest me some other technologies to develop "application sharing" software
0
Sebastien_BCommented:
Could you be more explicit, "application sharing" is not really detailled...
0
magarityCommented:
A terminal services program is indistinguishable from other programs except in two important aspects:
1.  If a single instance of the program services multiple users, you need to watch out for memory issues.  An example would be SQL server.  If your 'simple application' runs a copy of itself for each client, don't worry about this at all.
2.  File sharing issues.  If the program has to read, manipulate, put back data from a file then you need to take in to account the possibility that more than one user will try to read data that is "old" because another user has changed it but not yet saved it.  To get around this is fairly easy, just program flags on your data structures for available/not available.

Otherwise, there are no special functions, etc, that you have asked about.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

Sebastien_BCommented:
it's anything but a Server Application, like Exchange,SQL,Domino...

- Managing its queues for processing, file access will be the best way
- Using some semaphore to manage access conflicts
- Why not using sockets to contact the server

...but the Terminal Server is not here to help you, it shouldnt be considered as a developpment way to create multiuser application, as it's just like a virtual collection of PC's all-in-one
0
CleanupPingCommented:
bhaskey:
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
EXPERTS:
Post your closing recommendations!  No comment means you don't care.
0
magarityCommented:
This question can be answered best by a senior level programming class.  I think I've done the best that can be done under the constraints of EE.
0
juliancrawfordCommented:
No comment has been added lately, so it's time to clean up this TA.
I will leave the following recommendation for this question in the Cleanup topic area:

Split: magarity {http:#8241550} & Sebastien_B {http:#8243397}

Please leave any comments here within the next seven days.
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

Julian Crawford
EE Cleanup Volunteer
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Server OS

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.