[Closed] Interprocess communication
Hi, is it possibile to send and receive data from an external (custom written) application in maxscript?
At first i considered using the standar sockets but couldn’t find any mention in the maxscript documentation. Any suggestions?
Thanks.
P.S. now i’m using a textfile that i check at constant time steps for modifications, but a less awkward solution would be appreciated
You’d probably be able to do this via the activeX interfacing in maxscript.
Hoped to find an effortless solution (i’m not used with ActiveX interfaces) but in the end it is probably the best way to go. Thanks a lot.
la_piaga,
I’ve written a simple chat and file-transfer script to test the winsock control some time ago, I’ll check if it’s still on my hd somewhere when I’m at home and post it here.
Not an efforless solution though, solid winsock communication and error handling results in a lot of script
- Martijn
I’ve written a simple chat and file-transfer script to test the winsock control some time ago, I’ll check if it’s still on my hd somewhere when I’m at home and post it here.
I’d LOVE to see this…
Hi la_piaga and Martign
Can you send me the results of these experiments as I am trying to do some interprocess communication – I want to exchange data and messages between VB and maxscript. I know how to write activex controls but don’t know how to work with them in maxscript. Any help would be appreciated.
thanks david
AX Controls are not that hard to work with, you can run into some difficulty if VB variable types not able to be translated into MSX types.
I use them all the time: Treeview, mySQL ODBC, Flash etc. And it’s even easier if you write the control your self because you can format the data returned to MSX how you want it.
If you have any specific questions please post them so we can have a crack at them.
You always have the option to break out the SDK
RAM