Windows Clipboard..
When i was dealing with clipboard  in vc++, i met with a function GlobalLock() , may i know What exactly happens when the function get called..?

See All Responses Below...
Author
Message Rating
Posted on: 25/05/2012
GlobalLock  is basically a locking mechanism by which we will be able ptovide controlled access to the shared resource one t a time.
Once you call the GlobalLock function, other applications cannot move or delete the memory till all the other application releases its lock. 

In the case of a clipboard , it is essentially a shared memory where these sort of methods are applicable..

Tom

Please Login to Post Your Comments
Name (Max. 100 characters)
Please post your comments here
Select Language
Comments
Attach File(Max. Size: 2 MB)
A few simple rules when posting your Comments,
  1. Please post only answers relevant to the topic of discussion.
  2. Please dont misuse this site or do not be abusive, offensive, inappropriate,harass anyone on the boards or post ads or spam. Doing so will delete your inappropriate messages and will block or delete your account on this site. 

 
TekTipsDownload
GateExam
Academic Projects
TekTipsExperts
Android