Re: eVC: Starting other app and writing a file by ctacke/>
ctacke/>
Mon Oct 23 09:09:42 CDT 2006
What does this have to do with you're rants about failures of the CF? He
asked how to do this in C/C++. There's no "failure" except, apparently,
your ability to understand. The exact same thing is possible in the CF - use
the Process class to launch the process and then any one of the IO classes,
like a TextWriter, to write the data. We get it, you think Java has saved
the world and the CF sucks. Fine. Quit interjecting your opinion when it's
clearly off topic.
--
Chris Tacke
OpenNETCF Consulting
Managed Code in the Embedded World
www.opennetcf.com
--
"JDeats" <Jeremy.Deats@gmail.com> wrote in message
news:1161575899.064034.11450@f16g2000cwb.googlegroups.com...
Yet another example of how the Compact Framework 2 team failed.... In
almost every application I have attempted with CF2 I have hit a wall
and had to resort to C++..... I have only had to do this with the
Windows .NET Framework once.
With just a little more effort on the part of the CF2 things could have
been much better.
I have found a great deal of comfort in J2ME MIDP 2 as a CF2
alternative... It turns out the Windows Mobile 5 J2ME implementation is
well featured. J2ME is an extreemly well thought out framework that
caters to the developer, it is the standard mobile development platform
and the SDK and the "enterprise grade" Eclipse IDE are free. Not to
mention the emulator "just works" runs at device speed and starts up in
less than 3 seconds... Want to do Bluetooth, stream media, play a
sound, record a sound, etc.... its all there. Microsoft offers DirectX
wrappers for CF2, Sun offers a Game API as part of the J2ME MIDP 2
standard.
As nice and portable as J2ME MIDP 2 is, as a C# developer using .NET on
the desktop I would perfer to CF2, for some applications as in your
case you have no choice but to use C++ or build a series of wrappers
around native API calls for CF2. It just plan sucks.
Sven Rutten (at) wrote:
> Hello
>
> I'm normally a .NET-Coder für CF, so I am kind'a new to eVC.
> I need a very small application which only function is:
>
> Start
> executing another application
> writing a string "done" to a file in the same directory as the application
> is
> exiting...
>
> in .NET it would be some few lines of code, but I just dont know enough
> C++
> to do it in eVC...
>
> If someone could give me the code for this, I would be veeeery happy and
> thankful!
>
> Sven