Re: WIN32 API Constant Declarations
- Posted by JJProg at CYBERBURY.NET Jun 25, 1999
- 433 views
EU>To Jeffrey Fielding... It would be great to have a Euphoria version. EU>>They're in Visual Basic format, but it's pretty simple to convert - I'll EU>>write an Euphoria version when I have a chance. After writing a program to convert the constants and comments to Euphoria (I was going to do the types and functions after I got this working), I noticed that Microsoft was very sloppy with their constant declarations - many constants depend on other constants that they define later, and I fixed these. The main problem is that they give constants with the same name different values. KEY_EXECUTE is defined as 0 first, then defined as 1. I was hoping to write an include file so one could just include the file and not search for constants and copy them etc., but the file doesn't work at the moment because of the multiple declartions. Shall I continue this by renaming the constants, or continue with the multiple definitions and figure the user will figure out which constant they should use. Jeffrey Fielding JJProg at cyberbury.net http://members.tripod.com/~JJProg/