|
-
Jul 3rd, 2006, 09:11 PM
#14
Re: Detecting screen resolution
The usual culprit when errors like that arise is API declarations converted from VB6 without changing Long to Integer. I notice that the 'flags' argument is declared as type Long. I'm guessing that that is an oversight and it should be Integer. Try changing that declaration and see if it fixes the issue.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|