So, maybe you are trying to execute Autodesk Maya in Library Mode, you will get some python error, it can't find Maya's python modules. You should add enviroment variables in you Visual Studio's project, like this
MAYA_LOCATION=C:\Program Files (x86)\Autodesk\Maya2008PYTHONHOME=C:\Program Files (x86)\Autodesk\Maya2008\PythonPYTHONPATH=C:\Program Files (x86)\Autodesk\Maya2008\bin\Python25.zip;C:\Program Files (x86)\Autodesk\Maya2008\Python\lib\site-packages
I am working on hair procedural DSO which like Houdini and some PBR rendering shader in my free time.
See you soon.