Click here to Skip to main content
15,891,136 members
Home / Discussions / Mobile
   

Mobile

 
QuestionHow many lines in a text file Pin
fizzer6661-Oct-04 4:03
fizzer6661-Oct-04 4:03 
GeneralKeyboard is ON ?! Pin
Hadi Rezaee1-Oct-04 2:08
Hadi Rezaee1-Oct-04 2:08 
GeneralXML Parsing in CE Pin
Rassul Yunussov30-Sep-04 23:51
Rassul Yunussov30-Sep-04 23:51 
Generalpath environment variable Pin
ajaybrar28-Sep-04 17:10
ajaybrar28-Sep-04 17:10 
Generalfunctions in the Windows COM Interface that\n"); Pin
ajaybrar26-Sep-04 17:53
ajaybrar26-Sep-04 17:53 
Questionhow to get the unique device identifier(device id) of a pocket pc Pin
N.chandrasekaran24-Sep-04 20:14
N.chandrasekaran24-Sep-04 20:14 
AnswerRe: how to get the unique device identifier(device id) of a pocket pc Pin
João Paulo Figueira25-Sep-04 9:25
professionalJoão Paulo Figueira25-Sep-04 9:25 
AnswerRe: how to get the unique device identifier(device id) of a pocket pc Pin
eastsea.wu2-Dec-04 20:56
eastsea.wu2-Dec-04 20:56 
#include "winioctl.h"

extern "C" __declspec(dllimport)
BOOL KernelIoControl(
DWORD dwIoControlCode, LPVOID lpInBuf, DWORD nInBufSize,
LPVOID lpOutBuf, DWORD nOutBufSize, LPDWORD lpBytesReturned
);

#define IOCTL_HAL_GET_DEVICEID CTL_CODE(FILE_DEVICE_HAL, 21, METHOD_BUFFERED, FILE_ANY_ACCESS)

CString GetSerialNumberFromKernelIoControl()
{
DWORD dwOutBytes;
const int nBuffSize = 256;
byte arrOutBuff[nBuffSize];

BOOL bRes = ::KernelIoControl(IOCTL_HAL_GET_DEVICEID,0, 0, arrOutBuff, nBuffSize, &dwOutBytes);

if (bRes)
{
CString strDeviceInfo;
for (unsigned int i = 0; i<256; i=i+1)
{
CString strNextChar;
strNextChar.Format(TEXT("%02X"), arrOutBuff[i]);
strDeviceInfo += strNextChar;
}

CString strDeviceId =
strDeviceInfo.Mid(40,2) + strDeviceInfo.Mid(45,9) + strDeviceInfo.Mid(70,6);
return strDeviceId;
}
else
{
return _T("");
}
}

hi,let's go ...
GeneralWizard support for other language in eMbedded Visual C++ 4.0 Pin
vegeakhil24-Sep-04 8:57
vegeakhil24-Sep-04 8:57 
GeneralWinCE - display transparent bitmaps Pin
JackSIL24-Sep-04 7:29
JackSIL24-Sep-04 7:29 
GeneralTree View in .Net CF Pin
ppp00123-Sep-04 15:56
ppp00123-Sep-04 15:56 
GeneralThe difference between class 1 and class 2 in Bluetooth Pin
eli1502197922-Sep-04 23:08
eli1502197922-Sep-04 23:08 
GeneralConnecting WinCE to MSDE and ADO.NET Pin
..Hubert..22-Sep-04 1:34
..Hubert..22-Sep-04 1:34 
GeneralEmulator Problem Pin
mathon21-Sep-04 22:31
mathon21-Sep-04 22:31 
Generalbuilding for WinCE Pin
ajaybrar21-Sep-04 1:24
ajaybrar21-Sep-04 1:24 
GeneralPocketPC Emulator, Problems with ActiveSync Pin
Forser17-Sep-04 13:39
Forser17-Sep-04 13:39 
GeneralRe: PocketPC Emulator, Problems with ActiveSync Pin
João Paulo Figueira18-Sep-04 4:27
professionalJoão Paulo Figueira18-Sep-04 4:27 
GeneralRe: PocketPC Emulator, Problems with ActiveSync Pin
Forser18-Sep-04 6:31
Forser18-Sep-04 6:31 
GeneralRe: PocketPC Emulator, Problems with ActiveSync Pin
João Paulo Figueira18-Sep-04 7:05
professionalJoão Paulo Figueira18-Sep-04 7:05 
GeneralRe: PocketPC Emulator, Problems with ActiveSync Pin
João Paulo Figueira18-Sep-04 7:06
professionalJoão Paulo Figueira18-Sep-04 7:06 
GeneralRe: PocketPC Emulator, Problems with ActiveSync Pin
Forser18-Sep-04 7:35
Forser18-Sep-04 7:35 
GeneralRe: PocketPC Emulator, Problems with ActiveSync Pin
João Paulo Figueira18-Sep-04 7:41
professionalJoão Paulo Figueira18-Sep-04 7:41 
GeneralRe: PocketPC Emulator, Problems with ActiveSync Pin
Forser18-Sep-04 7:43
Forser18-Sep-04 7:43 
GeneralRe: PocketPC Emulator, Problems with ActiveSync Pin
Forser18-Sep-04 7:46
Forser18-Sep-04 7:46 
GeneralRe: PocketPC Emulator, Problems with ActiveSync Pin
João Paulo Figueira18-Sep-04 7:50
professionalJoão Paulo Figueira18-Sep-04 7:50 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.