Re: problem using OpenNetCF SDF Process class
From: Peter Foot [MVP] (feedback_at_no-spam.inthehand.com)
Date: 09/13/04
- Next message: Tom H: "Re: Catching SoapException"
- Previous message: Mike: "Re: Debugging question"
- In reply to: marcog: "RE: problem using OpenNetCF SDF Process class"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 13 Sep 2004 22:12:35 +0100
I caught the report of this on the forums a while back and posted a
response, don't know if it was in the same thread though. The answer is that
up to the last code release the arguments parameter was not being properly
null terminated which lead to extraneous characters appearing at the end.
This has been fixed since that release and the fix will be available in the
next binary release. I will have to double check that the updated code has
been uploaded to the online source browser.
HTH,
Peter
-- Peter Foot Windows Embedded MVP www.inthehand.com | www.opennetcf.org Do have an opinion on the effectiveness of Microsoft Windows Mobile and Embedded newsgroups? Let us know! https://www.windowsembeddedeval.com/community/newsgroups "marcog" <marcog@nres.com> wrote in message news:37C833A0-E499-49E9-8899-84301A3C3EE7@microsoft.com... >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 >>
- Next message: Tom H: "Re: Catching SoapException"
- Previous message: Mike: "Re: Debugging question"
- In reply to: marcog: "RE: problem using OpenNetCF SDF Process class"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|