Jump to content

Switch.exe run from WCF method


Guest SFayed

Recommended Posts

Does anyone have an idea why running switch.exe from .Net code doesn't seem to work? I am running it from a WCF method.

 

Here is the code:

string argument = " -hide -convert " + dssfile + " -format WAV -overwrite ALWAYS -outfolder " + directoryName;

System.Diagnostics.ProcessStartInfo myProcess = new System.Diagnostics.ProcessStartInfo(@"c:\Program Files\NCH Swift Sound\switch\switch.exe", argument);

 

After I run a filemon on it, it displays a "Buffer Overflow" error with "filenameinformation" in the other category. I tested it on the box it was installed and everything works correctly.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...