Hello everyone, I m a noob in C++, but I ve programing experience in rhinoScript and MayaMel. I m trying to write a C++ program that can that can:
1.start Maya + open a specific file
2.start Mel + execute some code

for the moment I was able to write a Win32 program, and using the shellExecute command I was able to start Maya,
but I could not open a specific file and I have no clue how to tell Maya to start Mel!!

Could anyone help please, any instructions or directions where to look would help me a lot.

Thank you very much

I can't give specifics because I don't know Maya or Mel, but there should be some sort of Software Development Kit (SDK) or Application Programming Interface (API) that you can interact with.

Try googling "Maya API" and "Mel API" and see what you can come up with.