   Maya API errors (MLibrary header)
  I'm trying to write a maya exporter for my game but I've encountered some problems.I am using VS9 (C++), Maya 2008 and an unofficial Maya plugin wizard I found on the internet to work with VS9.I am writing a plugin to export vertex information etc to my own file (binary file) and I've read some tutorials on how to do something like that.If I include MLibrary.h I get a link error saying it can't open the file libMDtAPI.lib because it doesn't exist. I found a file called libMDtAPId.lib and changed its name and then I got an error saying it couldn't open mfc80.lib (which I found out was used in VS8 and VS9 uses mfc90.lib) so I changed mfc80.lib to mfc90.lib in the libMDtAPI.lib (libMDtAPId.lib originally) and I could compile.If I try to load the plugin in Maya it fails (without any error). Nothing happens. If I remove the #include <maya/MLibrary.h> line I can load it in Maya with no trouble.I guess I shouldn't have done what I did in the first place but has someone got Maya 2008 working with VS9?I read somewhere I have to compile the MDtAPI solution to create libMDtAPI.lib file but it requires libMDtAPI.lib file to compile.   