adeyblue wrote:Congratulations. You now have a third party library in your project that [...]
To this comment, the only adequate reply I could make is not allowed or correct in this forum, I suppose.
To the folks discussing about whether the Windows API should be considered a "third-party library", I pretty much agree with what you've been saying here. Bill Gates is not somebody I like very much and I'm sure many, many bugs exist in the API and it is third-party in the sense that I did not write it, but any other library I use will ultimately call the API, so the only way for me to minimise bugs and maximise code independence is to directly use the API. Besides, this "library" is included in the OS installation.
caseih wrote:But dodicat's code, which is no doubt fairly correct, is the very third-party code library that @xlucas was complaining about.
This, I deserve it. It is true. I could've perfectly gone and looked up the code within the library that Caseih posted. When I complained about third-party libraries, I really felt very bad at the prospect of, with my complain, throwing a negative to a fellow who was trying to help. I expressed this by pointing out it was today's reality I was complaining about. We're all on the same ship here.
The reason why Dodicat's code felt to more more immediately useful was because I could read in the code he posted the two or three lines that I wanted to put in mine. It turns out for some reason, it compiles perfectly well, but it's not doing anything on the clipboard when I try it on a windows machine. I'm sure the code must be correct. I must be doing something wrong. I'll take a better read at the code all of you guys have been posting and I'll get it to work or otherwise, I'll post here the details if I have any more problems. I have to go to bed now. Thank you all so much!