Quantcast Programming: Vb.net Message Pump Help - digitalFAQ.com Forums [Archives]
  #1  
08-07-2005, 03:51 PM
powie powie is offline
Free Member
 
Join Date: Feb 2003
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
hi,

im trying to make a kdvd batch encoder in vb.net, everything works great but i got a slight niggle im hopin u can help me with


im using shell cmds with wait=true to go thorugh the various steps

vdub (audio extraction)
besweet (audio)
quenc(vid)
pulldown (if needed)
bbmpeg (muxing)

the main thing is id like to include a log file tab but on shell executing the form just whites out and is not responsive , after many searches on google i think it has something to do with message pump , but cant for life of me find any code on it.

im a noob @ programming and everything so far ive found by google search but cant figure this one.

can someone offer some insight as to where im going wrong please
Reply With Quote
Someday, 12:01 PM
admin's Avatar
Site Staff / Ad Manager
 
Join Date: Dec 2002
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
  #2  
08-07-2005, 05:46 PM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
Hi powie,

You're going to have to find out a way to redirect "stdout" of your program to a pipe, where you can capture the log.
The reason is that while your external program is executing, you loose control until it returns.
So if the running program can write to a pipe, then you can capture it on the upper forking (main calling) program.
Hope you understand what I mean.
Can't give you any more help, because I don't do any .Net programming.

-kwag
Reply With Quote
  #3  
08-08-2005, 07:10 AM
powie powie is offline
Free Member
 
Join Date: Feb 2003
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
after a little googling stdout does seem the way i need to go

guess i got a lot of learning to do

thanks for the nudge in the right direction
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
BASIC programming in Kubuntu digitall.doc Avisynth Scripting 3 06-20-2007 07:21 PM
Programming: Using PHP for a database to my DVD & CD Collection need Zyphon Avisynth Scripting 6 08-02-2005 12:05 PM
Programming: Purebasic 3.92 has been released rds_correia Avisynth Scripting 4 01-31-2005 06:17 PM
Programming: Any courses in PureBasic available? danpos Avisynth Scripting 3 11-11-2004 04:53 AM
Programming: PureBasic looks like a must-buy Zyphon Avisynth Scripting 20 05-06-2004 09:00 AM

Thread Tools



 
All times are GMT -5. The time now is 02:38 PM  —  vBulletin Jelsoft Enterprises Ltd