PDA

View Full Version : Constant values - ?



Cola
10-27-2000, 07:10 AM
Hey, I use MASM32 for Windows for coding.
There's opengl32.lib, *.h file, openGL
commands defined, I can use them.
BUT THERE'S NO CONSTANTS DEFINED!!!
I mean, the compiler don't understand
constants, for example, PFD_DOUBLEBUFFER,
because they're just not defined!
Help me, anybody, please! Send me a file
with constant values, or tell me, where I
can find them. Thank you.

10-29-2000, 02:02 PM
First of all, the MASM preprocessor doesn't understand C/C++ header files. There is a utility called h2inc somewhere, find it and use it. It will translate the contents of the file so the preproccessor will understand.