Start external program from plugin

Start external program from plugin

Anonymous
Not applicable
1,227 Views
6 Replies
Message 1 of 7

Start external program from plugin

Anonymous
Not applicable

Hello, 

I am newbie in 3ds MAX SDK, and need your help. Can I start an external program B (*.exe) from my plugin A, so that some status information from B (e.g., rate of delivery of B 0..100%) would shown in the panel of A, and plugin A would finished only after B would finished? Sorry for my English.

 

 

0 Likes
Accepted solutions (1)
1,228 Views
6 Replies
Replies (6)
Message 2 of 7

istan
Advisor
Advisor

in general is the answer yes. but you should also specify the programming language.. c++, maxscript, c#, python?

 

Message 3 of 7

Anonymous
Not applicable

Thank you. I suppose it will be c++.

0 Likes
Message 4 of 7

istan
Advisor
Advisor
Accepted solution

with c++ you have access to the entire windows system. it's pure win-api.

you can even format the harddisk 😉

Message 5 of 7

Anonymous
Not applicable

Thank you.

And can I create from my plugin the window(s) (except those control panels, that are described in SDK), and attach them into Max Interface? For example windows with my own 3d graphics (with opengl)?

This question is out of topic, may be I have to start a new post?

0 Likes
Message 6 of 7

istan
Advisor
Advisor

As I already wrote: this is c/c++ on Windows API level.

Since the Windows-API has a CreateWindow() function, you can of course create windows.

But how these windows interface then to Max, is up to your code.

Message 7 of 7

Anonymous
Not applicable

Thank you!

0 Likes