by Dan East » Mar 17, 2001 @ 8:22am
Mark, if you are including gx.h in a C build (as opposed to C++), then you will get compilation errors. Microsoft did not write gx.h so it will compile under C. You have to modify gx.h by adding struct to the following 2 function prototypes so they read as follows:<br><br>//The following two lines modified by Dan East to make this header C compatible:<br>//Added "struct" to the following two prototypes:<br>GXDLL_API struct GXDisplayProperties GXGetDisplayProperties();<br>GXDLL_API struct GXKeyList GXGetDefaultKeys(int iOptions);<br><br>Dan East