QUOTE(Rob Bateman @ 11/21/06, 07:49 AM) [snapback]252931[/snapback]
possibly because kSuccess has a capital S?
I apologize, I was rushed this morning and what I typed this morning was a typo. In fact, the error message does say:
error C2365: 'MS' : redefinition; previous definition was 'namespace' MStatus.h
error C2039: 'kSuccess' : is not a member of 'MS' MStatus.h
I also wanted to add that I am using Maya 7.0 and Visual Studio 2005 Pro.
In the pre-processor settings these are the definitions:
Configuration - Debug -- WIN32;_DEBUG;NT_APP
Configuration - Release -- WIN32;NDEBUG;NT_APP
And Daniel I wanted to answer your question also but ran out of time. No, I am not trying one of the examples (however I will look into those tonight for inspiration, perhaps), at the moment all this will do is open a Windows Form with a groupBox in the form layout. If I can't get past the errors in accessing MGlobal and MLibrary from a stand-alone app then there really is no point in me pursuing this avenue.
If that is the case, is it possible to make a plug-in that utilizes Visual C++ for the GUI. Making this entirely with MEL is not possible as it will be an importer that reads a binary file with a variety of variable sizes (int64, float, char, et al).
Thanks again,
MDA