RE: problem using OpenNetCF SDF Process class
From: marcog (marcog_at_nres.com)
Date: 09/13/04
- Previous message: Tom H: "Re: Catching SoapException"
- Next in thread: Peter Foot [MVP]: "Re: problem using OpenNetCF SDF Process class"
- Reply: Peter Foot [MVP]: "Re: problem using OpenNetCF SDF Process class"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 13 Sep 2004 12:27:11 -0700
I have the same problem. My call requires two parameters, the first of which
is a number. I found that when the first parameter passed into
Process.Start() was a number, an extra character was appended to the last
parameter that was passed into the target exe.
This only seems to happen when one of the parameters is a number.
Did you post this question on the OpenNETCF forum?
"Jose Antonio" wrote:
> Hi,
>
> We are launching an application from a Compact Framework
> app using the Process class which is available on the
> OpenNetCF SDF library. When we call "Process.Start" we
> pass as parameters the path of the executable to launch
> and the command line parameters.
>
> The problem is that the launched app does not receive the
> parameters correctly.
>
> The executable is another Compact Framework application
> and it needs four arguments:
>
> - the path of the application to launch is "\Program
> Files\AppManager\AppManager.exe".
> - the commnad line parameter string is "\"\\Program
> Files\\CCA\\CCA.exe\" user password 1", where "1" is a
> number which has to be parsed as an integer.
>
> The first application passes the parameters correctly, but
> the launched application receives in that case a "Q"
> character appended to the end of the string. This only
> happens when the number "1" is the last character of the
> command line parameters.
>
> Thanks in advance for your help.
>
> José Antonio
>
- Previous message: Tom H: "Re: Catching SoapException"
- Next in thread: Peter Foot [MVP]: "Re: problem using OpenNetCF SDF Process class"
- Reply: Peter Foot [MVP]: "Re: problem using OpenNetCF SDF Process class"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|