Re: Developing Wince 5.0 Console Application using eVC++



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


.



Relevant Pages

  • Re: CreateProcessAsUser - Process starts then exits
    ... Windows XP Media Center ... public Int32 dwX; ... public IntPtr lpReserved2; ... parent's console. ...
    (microsoft.public.win32.programmer.kernel)
  • Re: CreateProcessAsUser - Process starts then exits
    ... service most likely runs in a separate invisible session. ... the program I was trying to start was a windows forms app I ... public IntPtr lpReserved2; ... parent's console. ...
    (microsoft.public.win32.programmer.kernel)
  • Novell Client login form enables reading and writing from and to the clipboard of the logged-in
    ... Novell Client for Windows, ... Anyone with access to the computer's local operating system console, ... inject its own textual content into the clipboard of the currently logged-in ...
    (Bugtraq)
  • Re: New HDD Installation
    ... Right clicking on the partition or using the | Action> All Tasks menu at the top of the console should show the option, either greyed out or usable to make the partition active. ... Do the fixboot and fixmbr things in the Recovery Console then see if things change. ... There are other ways to mark the partition active, either with a Windows 98 startup disk or using the DISKPART command while in Windows XP. ...
    (microsoft.public.windowsxp.general)
  • Re: Cannot Correctly Preview Fax in Fax Console
    ... I no way do I doubt what you are saying, but until now, all known problems with previewing faxes have had one of two causes: incorrect file associations for TIF files or end user error using Windows Picture and Fax viewer. ... >>>I have used the fax printer Windows accessory many times. ... The Fax console comes>>> up. ...
    (microsoft.public.windowsxp.print_fax)