maxprompt .. need help with dataerror

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

Thread Tools Display Modes
  03 March 2009
maxprompt .. need help with dataerror

Hi, I'm making a command prompt that I can dock into max because I need it very often!
This is going well, but I need some help with data error synchronization maybe someone can come up with something :-)

Attached Files
File Type: zip (50.6 KB, 12 views)
  03 March 2009
That's a fun tool, but maybe you can be a bit more specific, there's hardly any comments in the code and your not describing a case where stuff goes wrong, it's hard to debug other peoples code if it's more then 20 lines or so, without some commenting. So maybe you could take some time to describe it a bit better?

Online: LinkedIn
  03 March 2009
the problem is in the keydown event handler at line 240 , I need a way to know if the error buffer is empty before evaluating line 242 else it send a new line and the output get screwed up...and if I try to access xprocess.standarderror.endofstream max freeze and I need to restart.

... I posted the wrong version, sorry, you have to uncomment the code in the xprocess_ErrorDataReceived eventhandler at line 209 to see the error

Best regard,
  03 March 2009
or I should have said , I need to wait until both the standard and the error buffer get empty before sending the new line and also stopping the standardoutput, if there's an error !
  06 June 2009
......anyone ?
  06 June 2009
Thread automatically closed

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
Thread Closed share thread

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Society of Digital Artists

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump

All times are GMT. The time now is 10:49 PM.

Powered by vBulletin
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.