Hi all,

I'm writing an application running on Shell. It reads user's input (number)
from keyboard to do somethings. But when I enter number 1, it gets the
number 49 (ASCII).
How can I get the input exactly?
ShellAppMain (
  IN UINTN    Argc,
  IN UINT64   **Argv
  )
{
  AtaDataTest.StartBlock = *Argv[1];
  DBG ("StartBlock: %d\n", AtaDataTest.StartBlock);
}

Thanks for any help,
Hien

=================
HCMUT
[email protected]
------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to