Quote Originally Posted by Schmidt View Post
Jacob could answer the question, whether NVidia explicitely checks for the lowest Bit in the Export,
by compiling and running his existing C++App with this setting:
Code:
extern "C" { _declspec(dllexport) DWORD NvOptimusEnablement = 0x00000002; }
Just tested this myself, and what NVidia currently does, is not as they've specified in the Documentation...

They are not checking explicitely whether the LSB is at 1 -
they just treat the exported Value like a bool-expression (everything <> 0 is true).

Even if they'll check the LSB in the future, the "empty-sub" export should work further,
because its "prolog" == "epilog" == &HC3 == just the x86-RETN-instruction.

Olaf