interaction between javascript (desktop application) and C#

Posted by Roman Dorevich on Stack Overflow See other posts from Stack Overflow or by Roman Dorevich
Published on 2010-03-14T09:26:56Z Indexed on 2010/03/14 9:35 UTC
Read the original article Hit count: 469

Filed under:
|
|

Hello.

I am writing for my desktop some application for handling some services. I wrote in C# an application that calculates something (lets call it cl.exe) I created a .bat file that starts the cl.exe. I want to call that .bat file from my javascript so I WShell.Run(**.bat).

2 question:

  1. The javascript program will not continue till the cl.exe will end ? (It is synchronized ?)
  2. The cl.exe returns a value. How can the javascript take it (It is a javascript program that call .bat file that wrapp the execution of the cl.exe) ?

Thanks

© Stack Overflow or respective owner

Related posts about interaction

Related posts about JavaScript