November 2006 Entries
I have also written a little Win32 console application in C++ that will show how to do it, to run it you have to install the PocketConsole from SymbolicTools: // accesspoints.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include #include #include #include #include #include #include "strconv.h" int _tmain(int argc, _TCHAR* argv[]) { if (argc [delay in ms]\n"); printf(" name of the wireless adapter\n"); printf(" [delay in ms] delay between scan and list query\n");...
I have written a little Win32 console application in C++ that will show how to do it, to run it you have to install the PocketConsole from SymbolicTools: // adapters.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include #include #include #include #include #include #include #include "strconv.h" /* * Windows CE does not have a localtime() function, so create a substitute. * See SQLite WinCE Port [http://sourceforge.net/pro... */ struct tm* localtime(const...
For a simple string conversion between ANSI and Unicode on a Pocket PC I have written some C++ classes: CTtoA for conversion from LPCTSTR to LPCSTR CTtoW for conversion from LPCTSTR to LPCWSTR CAtoT for conversion from LPCSTR to LPCTSTR CWtoT for conversion from LPCWSTR to LPCTSTR CAtoW for conversion from LPCSTR to LPCWSTR CWtoA for conversion from LPCWSTR to LPCSTR strconv.h 1 ///////////////////////////... 2 // 3 // strconv.h - Some useful classes for...