SetClipboardViewer or AddClipboardFormatListener ?

Joined
Oct 26, 2009
Messages
64
Reaction score
0
Hello;
I am writing a portable freeware to capture any new text copied to the ClipBoard, and save it into a *.txt file.
I am running window7, and would like the app to be able to work on XP,Vista,Win7.
My dilemma is which method will work on XP,Vista,Win7.

SetClipboardViewer or AddClipboardFormatListener

The AddClipboardFormatListener
http://msdn.microsoft.com/en-us/library/windows/desktop/ms649033(v=vs.85).aspx
I can't get to that page today (The specified CGI application encountered an error and the server terminated the process.) But I think it said that AddClipboardFormatListener only works for Vista.

Is this true ?
Other Posts say it only works on Vista and Win7.
Can anyone give me some guidance ?

I would rather use straight winAPI if possible.

Thanks...Vernon
 

Kougar

OCing one chip at a time
Joined
May 11, 2009
Messages
588
Reaction score
116
If it was written for Vista then it should work fine for Windows 7. The only question is if it would work on XP...
 
Top