|
| |||
| how to print HEX on a ppc screen ? Hi Group, I have an application where I receive some HEX data through a virtual com port, just few bytes and I want to print the HEX values on a pocket PC screen. How can I do that ? This is my part of the code: // Put text in receive text box. SendDlgItemMessage (hWnd, ID_RCVTEXT, EM_REPLACESEL, 0, (LPARAM)szText); where sxText is a BYTE array with the HEX values, I would like to have something like a "classic" printf( ... %x ..) thanks, Gl. |
| |||
| Re: how to print HEX on a ppc screen ? This question was asked and answered in microsoft.public.pocketpc.developer, which is a much more appropriate newsgroup. On 11 Jan 2007 16:24:08 -0800, "Gl4com" <gl4com******.com> wrote: >Hi Group, > >I have an application where I receive some HEX data through a virtual >com port, just few bytes and I want to print the HEX values on a pocket >PC screen. > >How can I do that ? > >This is my part of the code: > >// Put text in receive text box. > SendDlgItemMessage (hWnd, ID_RCVTEXT, EM_REPLACESEL, 0, > (LPARAM)szText); TCHAR sM[50]; _stprintf( sM, _T( "%x" ), szText ); SendDlgItemMessage (hWnd, ID_RCVTEXT, EM_REPLACESEL, 0, (LPARAM)sM ); >where sxText is a BYTE array with the HEX values, I would like to have >something like a "classic" printf( ... %x ..) > >thanks, > >Gl. ----------------------------------------- To reply to me, remove the underscores (_) from my email address (and please indicate which newsgroup and message). Robert E. Zaret, eMVP PenFact, Inc. 20 Park Plaza, Suite 478 Boston, MA 02116 www.penfact.com |
| Bookmarks |
| Thread Tools | |
| |
| | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How do I print a folder content LIST not using "print screen"? | OhJoanna | Microsoft Office | 2 | 12-10-2008 02:30 PM |
| ALT + PRINT SCREEN | Marc | Windows Vista | 1 | 07-01-2008 08:30 PM |
| Disable Print Screen ( capture screen function ) | Figo | Windows XP | 2 | 01-22-2008 10:40 AM |
| Print Screen | Paintwagon | Windows XP | 10 | 07-03-2007 07:41 AM |
| Re: print screen key | Colleen | Windows XP | 0 | 01-04-2007 04:17 AM |
| New To Technology Questions? | Do You Need Help with Your Computer or Device? | Do You Need Help with this site? |