Is there any way to dllexport a constant from an executable in windows?
in particular i'm trying to do this: c++ - Forcing Machine to Use Dedicated Graphics Card? - Stack Overflow
in order to get an application to always run on the discrete graphics card by default but can't find a way to export anything but functions and as far as i've seen, it would only work for dlls not for executables