Hey, I have certainly made that same mistake more often than I'd like to remember. My favorite "I can't believe I did that!" stupid programming error is changing more than one thing at a time when tracking down a problem. It's such a newbie mistake, but I still do it from time to time and I have been programming for too many years...sheeze!
So, about the include files?
Well, I have them because I have MS Visual Studio installed on my system. If you don't have Studio (sound like you don't) then you can download the files from some sites. I don't know much about them, like accuracy, being up to date etc., but I doubt the old stuff (like the GDI calls used in these examples) change much.
I just found this via google search using win32 API Include Files: DOCs which "seems" to have some good stuff. In particular download this: cyg32api.zip which appears to be pretty complete at first glance... the two parm vals needed in this thread are there at least. ;-)
BTW: I certainly don't mind helping, as I have certainly recieved my fair share of help from this site. I just offered the tips on tracking it down to help.
Also, I see we are in the same neck of the woods. Are you working on the project for personal or business? If you don't mind my asking.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.