Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
I am trying to read data from the clipboard. I want to be able to read it in ANY format. I have basicly figured out how to do that, but I am haveing some problems. I am useing GlobalSize() to get the size of the memory block allocated for the clipboard. This works fine most of the time, however sometimes (like with files copied from windows explorer) it returns a value that is *LESS* than the size it should be. Any ideas of why this would be happening or a better way to get the size of the memory block allocated to the clipboard?
I am writing this useing C and the Platform SDK.
0 · ·