Re: Developing Wince 5.0 Console Application using eVC++
- From: "Paul G. Tobey [eMVP]" <p space tobey no spam AT no instrument no spam DOT com>
- Date: Mon, 25 Feb 2008 10:27:24 -0700
You're writing an *interactive* console application? Sorry, but that seems
like a really bad idea, particularly on Windows CE, where the console
libraries don't work very well with things like getch() (although scanf()
works fine). If your client has some strange idea that this is a good idea,
be aware that you *cannot get single character* inputs from the user with
Windows CE console. Enter is *always* required to return a character to the
program, even if you call getch(), which would normally return any single
keypress.
Paul T.
"kracks" <kirthikaiitm@xxxxxxxxx> wrote in message
news:a6839e82-f569-479b-9dda-e1862f8d0503@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
On Feb 25, 5:44 am, "Paul G. Tobey [eMVP]" <p space tobey no spam AT
no instrument no spam DOT com> wrote:
If you select Hello, World application, yes, eVC will create a windowed
program. If you choose the options that I indicated previously, you'll get
a program with an empty WinMain, which you can fill in to parse the
command
line and do whatever else you need to do.
Again, you want a *console* application or not? I can't teach you in a
newsgroup how to program for Windows. Buy a copy of Petzold, if that's
what
you're after. If you want a console application, I don't understand why
you're going off on this tangent of programming the windowed version of
the
application.
Paul T.
"kracks" <kirthikai...@xxxxxxxxx> wrote in message
news:66c5c9c8-174f-46ea-a489-40bae18f09ad@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
On Feb 25, 4:49 am, "Paul G. Tobey [eMVP]" <p space tobey no spam AT
no instrument no spam DOT com> wrote:
Have you tried *anything*? It seems like your first experiment would be
to
just do New... and see what the options are. Five minutes of work would
have built you a simple console application that you could play with.
(Choose WCE Application, enter a suitable name and folder location,
choose
A
simple Windows CE application and click Finish).
Paul T.
"kracks" <kirthikai...@xxxxxxxxx> wrote in message
news:afa6ef00-8ac7-40b0-959b-29a115d5c3f8@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
I have to develop a small Console application in wince 5.0
I have to control the device driver output based on input given by
the user from Command prompt.
Is there any sample console application available.
I searched. I didn't find anywhere.
Please suggest.
Regards,
Kirthika- Hide quoted text -
- Show quoted text -
Hi,
I tried in eVC++. I created a simple application Eg. Hello World.
Its getting displayed in one window.In the same window i have to get
the input from user(i have LCD display in my device and i input by
means of keypad) and control application. How can i get input from
user.
What can i do for that.? please suggest.
Awaiting for you reply.- Hide quoted text -
- Show quoted text -
Hi,
I did many applications in eVC++.
But Console application i never did before.
I will refer to the book.
But now i just want to know how to get the input from user in console
application (getch() or scanf())
Its my client requirement.
Please suggest.
Regards,
Kirthika
.
- Follow-Ups:
- References:
- Developing Wince 5.0 Console Application using eVC++
- From: kracks
- Re: Developing Wince 5.0 Console Application using eVC++
- From: Paul G. Tobey [eMVP]
- Re: Developing Wince 5.0 Console Application using eVC++
- From: kracks
- Re: Developing Wince 5.0 Console Application using eVC++
- From: Paul G. Tobey [eMVP]
- Re: Developing Wince 5.0 Console Application using eVC++
- From: kracks
- Developing Wince 5.0 Console Application using eVC++
- Prev by Date: Re: Developing Wince 5.0 Console Application using eVC++
- Next by Date: Re: Non blocking mode of socket connection doesn't work
- Previous by thread: Re: Developing Wince 5.0 Console Application using eVC++
- Next by thread: Re: Developing Wince 5.0 Console Application using eVC++
- Index(es):
Relevant Pages
|