03 March 2009 | |
![]() |
|
Frequenter
Martin Dufour
Quebec,
Canada
|
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 :-) Martin |
03 March 2009 | |
![]() |
|
maxscript/c# lover
Johan Boekhoven
Technical Artist
Freelance TD/Generalist
Netherlands
|
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?
-Johan __________________
Online: LinkedIn |
03 March 2009 | |
![]() |
|
Frequenter
Martin Dufour
Quebec,
Canada
|
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, Martin |
03 March 2009 | |
![]() |
|
Frequenter
Martin Dufour
Quebec,
Canada
|
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 | |
![]() |
|
Frequenter
Martin Dufour
Quebec,
Canada
|
......anyone ?
|
06 June 2009 | |
![]() |
|
Expert
|
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 |
«
Previous Thread
|
Next Thread
»
|
|
|