2
Contributors
1
Reply
3
Views
7 Years
Discussion Span
Last Post by nmaillet
0

You need to Windows API to work with these functions, and #include "Windows.h". The reference for these functions is located here.

Be sure to check the return value of OpenClipboard(). If it returns a zero (false) it failed, otherwise, if it returns a non-zero (true) it succeeded. If it returns false, another program likely has access to it, so you should wait briefly and try again.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.