Still haven't figured why shaders don't work. dll must be fine because the abusive messages in nightvision.cpp get printed to the console. hum.