Troubleshoot cannot find main function
Did you choose Win32 Dynamic-Link Library when starting a new project?
Parent topic:
Troubleshoot mental ray for Maya shaders