[Q] Problems with NDIS_802_11_STATUS_INDICATION/NDIS_802_11_AUTHENTICATION_REQUEST on PPC 2003
This is a multi-part message in MIME format.
------=_NextPart_000_0015_01C380E6.8AD600E0
Content-Type: text/plain;
charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable
We are porting a WPA miniport from XP SP1 to PPC 2003. We are able to =
duplicate MIC failures for testing and are seeing something strange when =
the miniport makes an authentication status indication. It appears that =
once this media-specific indication is made, all activity through the =
stacks halts (i.e., pings are no longer sent through the miniport). This =
does not appear to be an ARM alignment issue since the desktop is still =
active.
As mentioned, this driver is being ported (with no source changes =
required) from XP SP1/NDIS 5.1. We do not see the same issue on XP with =
the driver and the same tests.
Has anyone seen this?
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
Peter Gibson
Seabright Consulting, Inc.
peter.gibson@sbcglobal.net
(831) 477-7735=20
------=_NextPart_000_0015_01C380E6.8AD600E0
Content-Type: text/html;
charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dwindows-1252">
<META content=3D"MSHTML 6.00.2800.1226" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT size=3D2>We are porting a WPA miniport from XP SP1 to PPC =
2003. We are=20
able to duplicate MIC failures for testing and are seeing something =
strange when=20
the miniport makes an authentication status indication. It appears that =
once=20
this media-specific indication is made, all activity through the stacks =
halts=20
(i.e., pings are no longer sent through the miniport). This does not =
appear to=20
be an ARM alignment issue since the desktop is still =
active.</FONT></DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT size=3D2>As mentioned, this driver is being ported (with no =
source=20
changes required) from XP SP1/NDIS 5.1. We do not see the same issue on =
XP with=20
the driver and the same tests.</FONT></DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT size=3D2>Has anyone seen this?</FONT></DIV>
<DIV> </DIV>
<DIV><FONT =
size=3D2>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D<BR>Peter Gibson<BR>Seabright=20
Consulting, Inc.<BR><A=20
href=3D"mailto:peter.gibson@sbcglobal.net">peter.gibson@sbcglobal.net</A>=
<BR>(831)=20
477-7735 <BR></DIV></FONT></BODY></HTML>
------=_NextPart_000_0015_01C380E6.8AD600E0-- Tag: Download Program to ROM Tag: 64831
Application Close by OS
I'm guessing that when the PocketPC OS needs to close a running application
to free memory for a new application, that it sends a Close Message of some
sort to the application it wishes to close.
Could someone point me in the right direction as to what message is sent (or
if I've got it wrong, what the actual mechanics of this process are) and
advise me as to how to capture this message (or whatever) in order to
prevent a particular application from being closed by the OS.
If such a refusal to close were to be coded within an application, would the
OS then select a different application to close or would it continue trying
to close the first application it selected for closing?
Regards
Paul K. Tag: Download Program to ROM Tag: 64828
SOUND Streaming?
Hi,
Has anyone tried to use the mic of the pocket pc and stream it over the
network? If you did, can anyone who has did it or has the knowledge tell me
how to go about doing it? For example what APIs I should use. I am
currently using VB.NET to program the Pocket PC.
Any advice will be much appreciated.
Thank You
Edmund Tag: Download Program to ROM Tag: 64825
Syncing with odbc
Hi,
I'm new to pocketpc development and any help would be
great.
I can import foxpro tables to my dell ok using odbc and it
converts to a cdb ok, I can also choose to sync the tables
but this doesnt seem to work. I get the message that I
need a primary key set.
Does anyone have any ideas how I can use active sync to
update the dell axim when foxpro tables change on my pc?
Any help would be great. If i can't do it through
activesync does anyone have any other possible solutions.
Thanks
Steve Tag: Download Program to ROM Tag: 64821
I need to open BTC1 Bluetooth Port
Hi Friends.
I have a HP 2210 PPC with Windows Mobile 2003, with Widcomm Bluetooth
integrated.
My problem is, when i open COM8 port to send data to my mobile phone,
any time, the BT manager popping up.
I test various commercial applications, and found the BTC1 port, when
I tested these port, the BT manager don't popping up.
Any source code in any tool, solve my problem.
This is for finish my custom application.
Thanks to all
From Chile
Leonardo Gutierrez
lgutierrez@spl.cl Tag: Download Program to ROM Tag: 64820
security
Hi.
I've read that you can't protect files or directories
with a password in Pocket PC 2002.
Is this really true?
I need to protect a folder. Just one user should be able
to access that folder. How would you do it?
I know that there are applications that protect files and
folders. Can I use them in my program someway?
Perhaps the only way to achieve this is to encrypt the
hole file. In this case, How fast can decryption be?
Thanks for the atention. Tag: Download Program to ROM Tag: 64813
Datagrid in eVB
Dear all,
can anybody tell me is there any third party component
for datagrid that can insert component inside datagrid? Tag: Download Program to ROM Tag: 64810
Running app from ROM, problem with CeRunAppAtEvent - NOTIFICATION_EVENT_WAKEUP
Hi,
I want to run my application from 'iPAQ File Store'.
It runs fine without any problem,
but if I register my app to start at wakeup by using CeRunAppAtEvent
with NOTIFICATION_EVENT_WAKEUP flag, then it does not start at wakeup
and also the Pocket PC hangs.
only way out is to 'soft reset', or even some times, 'hard reset'.
The application runs fine if i run it from RAM say '\windows\start
menu' folder.
and runs well on wakeup and even after 'soft reset'.(for running after
'soft reset', i'm creating a link in '\windows\startup' folder to my
application.
Please let me know if I'm doing anythig wrong here.
I want to run my application from the ROM so that it does not get
deleted in case of a 'hard reset' or if battery fails.
but i also want my application to autorun on every wakeup, 'soft
reset' and 'hard reset'.
Please let me know how to do it.
Cheers,
Viv Tag: Download Program to ROM Tag: 64808
how to create .msi file
Hi,
Could anybody tell me how to create .msi file for
installation of pocket pc application from desktop.
I have visited the following link, but information
provided here is insufficient.
http://msdn.microsoft.com/library/default.asp?
url=/library/en-us/dnnetcomp/html/netcfdeployment.asp
Thanx in Advance
Bhagwandas Tag: Download Program to ROM Tag: 64804
Regional settings - where is it?
Hi,
I'm looking for a way to read the country setting of an IPAQ.
I've searched the registery of my device, but I can't find it anywere.
Is it stored in another way inside the ppc?
thanks,
Eric Tag: Download Program to ROM Tag: 64793
Printing to serial printer using USB
Anybody any ideas about printing from a PPC (eVB 3.0) to a serial printer
when the PPC cradle only supports USB ?
Ed Tag: Download Program to ROM Tag: 64790
How to install SQL Server CE
Dear all,
I want to install SQL Server CE on my computer. After I
installed it, it said that My SQL server is not Service
Pack 1 or higher, however, my SQL Server has installed
Service Pack 3, what's the problem?
Is that a bug? How to fix it?
Thanks Tag: Download Program to ROM Tag: 64789
rsaenh.PPC2002x86.CAB file not installing to PPC2002 emulator
Hi all,
This is provided in the PPC2002 SDK. It is to install enhanced (128-bit)
cryptography. There is a separate rsaenh.PPC2002ARM.CAB file for the
actual devices and this one installs correctly. The one for the emulator
does not...
Anyone seen this before?
Thanks..
-BB Tag: Download Program to ROM Tag: 64788
how to use sms api
I'm a evc programmer and I want to code a sms(short message service)
program using sms.lib on ce3.0.
The document says the sms api could be used on ce 3.0,but i can't find
sms.dll on
my ARM SA1110 ce3.0 pocket pc.Who could tell me how to resolve this problem
Thank you very much Tag: Download Program to ROM Tag: 64786
how to use sms(short message service) api
I'm a evc programmer and I want to code a sums(short message service)
program using sums.lib on ce3.0.
The document says the sums api could be used on ce 3.0,but i can't find
sums.dll on
my ARM SA1110 ce3.0 pocket pc.Could please tell me how to resolve this. Tag: Download Program to ROM Tag: 64785
Remote debugger problem.
Hi!
When debugging applications, eVC++ seems to set breakpoints inside system
DLLs which
are in ROM. And (I guess) my machine permit this. That way I killed two
(RoverPC).
Is there a way to forbid eVC++ setting ROM breakpoints?
Thanks.
Serge. Tag: Download Program to ROM Tag: 64781
Use Rapi Function
When I want to use the RAPI functions, I include the rapi.h to my dll, but
it show the error message below:
Compiling...
RapiDllC.cpp
d:\temp\rapidllc\rapi.h(95) : error C2065: 'IRAPIStream' : undeclared
identifier
d:\temp\rapidllc\rapi.h(95) : error C2065: 'IStream' : undeclared identifier
d:\temp\rapidllc\rapi.h(96) : error C2448: '<Unknown>' : function-style
initializer appears to be a function definition
d:\temp\rapidllc\rapi.h(108) : error C2061: syntax error : identifier
'IRAPIStream'
d:\temp\rapidllc\rapi.h(356) : error C2061: syntax error : identifier
'IRAPIStream'
Error executing cl.exe.
Why? Cann't I do that? Tag: Download Program to ROM Tag: 64780
link error with msxml http request on winCE pocket PC
Please assist. I'm getting this link error caused by the
iXMLDOM function ->open(...
two errors
1)
error LNK2019: unresolved external symbol "void __cdecl
_com_issue_error(long)" (?_com_issue_error@@YAXJ@Z)
referenced in function "unsigned short * __cdecl
loadAssignment(int)" (?loadAssignment@@YAPAGH@Z)
2)
error LNK2019: unresolved external symbol "unsigned short
* __cdecl _com_util::ConvertStringToBSTR(char const *)" (?
ConvertStringToBSTR@_com_util@@YAPAGPBD@Z) referenced in
function "unsigned short * __cdecl loadAssignment(int)" (?
loadAssignment@@YAPAGH@Z)
I've got these libraries in use :UUID.LIB and wininet.lib
and ole32.lib and oleaut32.lib
And header
namespace MSXML
#include
{
<msxml.h>
}
and code snippet :
hr = CoInitializeEx(NULL,COINIT_MULTITHREADED);
if(!SUCCEEDED(hr)) return 0;
hr = CoCreateInstance(MSXML::CLSID_DOMDocument,
NULL, CLSCTX_INPROC_SERVER |
CLSCTX_LOCAL_SERVER,MSXML::IID_IXMLDOMDocument, (LPVOID *)
&iXMLDoc);
if(iXMLDoc)
{
iXMLDoc->put_async(VARIANT_FALSE);
// Pocket PC requirement:
// Remove document safety options
IObjectSafety *pSafety;
DWORD dwSupported, dwEnabled;
if ( SUCCEEDED(iXMLDoc->QueryInterface
(IID_IObjectSafety, (void**)&pSafety)))
{
pSafety->GetInterfaceSafetyOptions
(
MSXML::IID_IXMLDOMDocument,
&dwSupported, &dwEnabled );
pSafety->SetInterfaceSafetyOptions
(
MSXML::IID_IXMLDOMDocument,
dwSupported, 0 );
}
vXMLSrc.vt = VT_BSTR;
//
http://169.254.139.171/scripts/easyvoice.exe?
user=dave
// vXMLSrc.bstrVal=SysAllocString
(L"http://169.254.139.171/scripts/easyvoice.exe?
user=dave"); // url for xml document
pXH->open(L"GET", gszPOSTURL,_variant_t
(VARIANT_FALSE), _variant_t(""), _variant_t(""));
pXH->setRequestHeader(L"Content-Type",
L"text/xml");
pXH->get_statusText(&bStr);
Thanks for taking a look !!
David Tag: Download Program to ROM Tag: 64778
IrDA WinCE vs Win2000 vs Win98SE
Hi,
I am playing with code to use IrDA between my PocketPC (WinCE 2002) and two
desktop PC's, one with Win2000 the other with Win98se. I am using WinSock.
The code is working fine (full two way communication) for
PocketPC-PocketPC Client/Server
PocketPC-Win2000 Client/Server
Win2000-PocketPC Client/Server
Under Win98se the WSAStartup is OK returning "WinSock 2.0"
but then the initial call to "socket" fail with
"Address family not supported by protocol family"
Now with the IrDA socket call, the "protocol" is set as NULL,
so the problem must be with the "Address family"
which is defined in AF_IRDA.H as
either 26 (WinNT and WinWindows)
or 22 (WCE):-
#define WINDOWS_AF_IRDA 26
#define WINDOWS_PF_IRDA WINDOWS_AF_IRDA
#define WCE_AF_IRDA 22
#define WCE_PF_IRDA WCE_AF_IRDA
#if defined(_WIN32_WINNT) || defined(_WIN32_WINDOWS)
#define AF_IRDA WINDOWS_AF_IRDA
#define IRDA_PROTO_SOCK_STREAM 1
#elif defined(_WIN32_WCE)
#define AF_IRDA WCE_AF_IRDA
#else
#pragma message("One of _WIN32_WINNT | _WIN32_WINDOWS | _WIN32_WCE must be
defined.")
#endif
However the ONLY value the "socket" open succeeds with on my Win98 PC is
AF_INET:-
#define AF_INET 2 /* internetwork: UDP, TCP, etc. */
Using AF_INET on the Win98se PC as a client, the GetSockopt fails with
"Invalid argument"
(According to the results of GetSockopt, the PocketPC acting as a client,
can "see" the IrDA port on the Win98se PC. This suggests a software fault
rather than hardware.)
Anybody have any suggestions what I need to do to allow Win98se to work
compared to Win2000?
Thanks
Ray Cannon Tag: Download Program to ROM Tag: 64776
Pocket PC Emulator (Move Files)
hello,
I am developing a Pocket PC app that uses a file. Durring development, when
the application is deployed using the emulator, the files in the project,
are copied to the "\Program Files
app\..." location.
Is there a way to change the location of these data files. In my prod app, i
would like the data files to be used from some central location like the
Flash Disk.
I tried to copy the files in the emulator using file explorer but could not
figure out how to use "Copy and paste" with the mouse.
any help would be appreciated.
scott Tag: Download Program to ROM Tag: 64773
do i need to install standard SDK with vc40?
Hi,
I am installing dev. tools following the
http://msdn.microsoft.com/library/en-us/dnppcgen/html/devtoolsmobileapps.asp?fra
me=true#development tools for mobile applications white p_topic6
During install of eVC40, it asked me if I wanted to install Standard SDK for
WinCE .NET.
I am going to develop only for PocketPC 2003, and I am going to install PocketPC
2003 SDK anyway.
Do I need to install Standard SDK for WinCE .NET, as a part of eVC40
installation or it will not be used (or will be replaced by PocketPC 2003 SDK),
so I can skip this one? Tag: Download Program to ROM Tag: 64769
=?iso-8859-1?Q?ANN:_Review:_Visual_Studio_.NET_2003_-_what's_in_the_box?=
Visual Studio .NET 2003 - what's in the box ?
... is here:
http://dotnetdn.com/visual_studio_net_inthebox/
Any feedback is welcome!
--
http://msmobiles.com - all about
Microsoft powered cell phones.
http://dotnetdn.com - latest news
about .NET Compact Framework. Tag: Download Program to ROM Tag: 64766
How to monitor a Registry Key?..
Hi Gurus,
How to monitor a Registry Key?.. In WHich appln using which Key
like that?.. IN WINCE. Is it Possible in EVC++3.0
Kindly Provide me your ideas/Sample code..
regards,
Rajesh. S Tag: Download Program to ROM Tag: 64759
Windows Mobile 2002-based Smartphone Developer Kit
Does anyone have experience with the Windows Mobile 2002-based Smartphone
Developer Kit? Can the red e SC1100 Smartphone, provided with the developer
kit, be activated with a commercial cellular carrier in the United States?
Thanks,
- Joe Geretz - Tag: Download Program to ROM Tag: 64756
CF card (Audiovox GPRS) and COM1: port configuration assignment error
Hello,
I have an iPAQ 2210 with PocketPC 2003.
In the CF-card slot I have an Audiovox GPRS modem for internet
connection.
On the COM1:(in the bottom of the PDA - sync cabel RS232) I have
connected a Magnetic Card reader.
This works well. The problem is that when the PDA boots, "Serial Cabel
on COM1:" label is gone from the list of ports. If I try open the
"Hayes Compatible on COM1:" port, it's open the CF-Card GPRS module. I
can not anylonger access the Magnetic Card reader.
If I soft reboot the PDA without the CF card installed and then
instert the CF-Card, I can use both the GPRS module and the Magnetic
Card reader.
My problem is that when the PDA boots with the GPRS module in the CF
card slot the "Serial Cabel on COM1:" disapear. I guess this is due to
boot up auto configuration.
Can someone help me with finding any workarounds / solutions? Tag: Download Program to ROM Tag: 64751
PocketPC 20003 iPAQ 2210 - Bluetooth Connecting both GPS and Printer
Hello,
I have an iPAQ 2210 PDA, and I want to connect a GPS bluetooth device
and a bluetooth printer device at same time.
There are no problem if I connect one device at the time, but I dont
know how
to connect them at the same time since it seems like theire are both
trying to
use the same COM8 port.
Are there any way to connect a bluetooth device to a spesific COM
port?
I have another PDA (Siemens SX45) with a bluetooth CF card (AnyCom),
with this card it's a own bluetooth wizard that lets you assign
bluetooth devices
to different COM ports.
Can anyone help me on the iPAQ 2210? Tag: Download Program to ROM Tag: 64749
Formating an Value with Formatcurrency
Hi all
How can i format a value with Formatcurrency??
I already use the format but don't work. And a total value that is 24.00 and
I will divide by 10 the result will be 2.4, but the pocketpc give me 2.3
Why??
In my query in the total value i use TO_CHAR(oracle) is i remove this
to_char the value is 2.4.
Why the WindowsCE give me this value??
I am using eVB 3.0
Tks Tag: Download Program to ROM Tag: 64743
Are you infected?
Dear All,
As it would appear that many people have been infected with a virus that is
sending around ridiculous email claiming to patch Microsoft software as well
as claiming to be delivery failure notices from qmail, etc., would everyone
who may be affected by this please take the time to download and run the
removal tool for this virus. Once complete, this removal tool will also
inform you if you were infected or not. The removal tool is very small, easy
to use, and can be found here:
http://securityresponse.symantec.com/avcenter/venc/data/w32.swen.a@mm.removal.tool.html
And more information on this virus can be found here:
http://securityresponse.symantec.com/avcenter/venc/data/w32.swen.a@mm.html
I would like to emphasize that trash email like this will NOT stop until
people have run the removal tool and cleaned their machines.
Thanks
--
Tim Wilson
Windows Embedded MVP Tag: Download Program to ROM Tag: 64730
Pocket PC & Excel
Hi there,
Not sure whether this is the correct forum but here goes:
I've made up some work expense forms using desktop excel
and there is a small company logo file in the top left
hand corner of the worksheet. When I transfer these files
to pocket pc the logo disappears. It is essential for
these forms to have the company logo on them. How can I
set it up so that this happens?
Cheers,
D Tag: Download Program to ROM Tag: 64727
WLAN Software Development kit for iPAQ
Dear All
Could you suggest a 802.11b SDK for software development on a Pocket PC?
Moses Tag: Download Program to ROM Tag: 64725
Shell_NotifyIcon - no icon appeared??
The lines of code are from my program, they work ok on winXP. On PPC2002
emulator, however, the icon doesn't appear
What's wrong with the code? Anyone can help?
CBitmap bm;
CImageList imglist;
NOTIFYICONDATA notifyicondata;
imglist.Create( 16, 16, ILC_COLOR32 | ILC_MASK, 0, 0 );
bm.LoadBitmap( IDB_WEATHER );
imglist.Add( &bm, RGB(255,255,255) );
notifyicondata.uFlags = NIF_TIP | NIF_ICON | NIF_MESSAGE;
notifyicondata.cbSize = sizeof(notifyicondata);
notifyicondata.hWnd = AfxGetApp()->m_pMainWnd->m_hWnd;
notifyicondata.uID = 100;
lstrcpy( notifyicondata.szTip, TEXT("Something"));
notifyicondata.hIcon = imglist.ExtractIcon( 0 );
notifyicondata.uCallbackMessage = WM_USER +1;
Shell_NotifyIcon( NIM_ADD, ¬ifyicondata ); Tag: Download Program to ROM Tag: 64724
.NET Compact Framework and TreeView Control
I am porting a small VB app over to ppc. The treeview control uses the
LableEdit property which is not supported by .NET Compact Framework. Also,
since it does not support GetNodeAt method either, it seems impossible to
implement lable edit function and yet Pocket Explorer seems to implement it
for its ListView adequately. Does anybody have experince with implementing
labeledit for a treeview node in PPC? Tag: Download Program to ROM Tag: 64719
Which type of developer software to use to develope on the Pocket PC 2002?
Hi,
I want to make a software that is able to transmit voice over a network.
What software should I use to develop my application?
Should I use Embedded C++/VB or I can use Visual Basic. NET / C#.net. What
is the difference between the .NET framework and the embedded tools?
You advice will be greatly appreciated.
Thanks for your attention. Tag: Download Program to ROM Tag: 64717
PPC 2003 SDK with VisualStudio2002 ?
Hi,
can I use the PPC 2003 SDK also with VisualStudio.net 2002?
Unfortunately I just have this version of VisualStudio....
In fact, I already installed PPC 2003 SDK on my machine - but nothing really
happend... I have a shortcut to the help-file and to a cmd-box in the start
menue and 160 MB laying on my hdd. But nothing happened to my VisualStudio I
am not able to start an emulator...? What should I normally see and how
could I normally start developing with the PPC SDK?
Thanks,
Raik Tag: Download Program to ROM Tag: 64716
HP iPAQ 2210 Cradle
Can anyone help please?
We have developed an application that runs on an HP iPAQ 2210 and prints to
a Citizen iDP3221 serial printer.
When we developed the app we used a Compaq iPAQ 3950 and the cradle with
this model came with both USB and DB9 RS232 connectors.
In their wisdom, HP dropped the DB9 RS232 connector from the cradle for the
iPAQ 2210.
We have no great desire to re-write the code and test on an Epson USB
printer, so we were wondering if anyone has any ideas on using the USB
connection of the 2210 cradle to connect to a serial printer. We have looked
at ATEN USB/Serial converters, but of course they are for PCs/Laptops and
need device drivers to be installed on the PC operate. there is no way of
loading these onto a 2210 that we are aware of.
If anyone can offer any advice or suggestions it would be much appreciated.
Thanks in advance.
Bill Roffey
bill@oss.net.au Tag: Download Program to ROM Tag: 64713
Is PocketPC 2002 ARM compatible w/ 2000 ARM?
If I want to release an app for both PPC 2000 and PPC 2002, should I compile
for PPC 2000 or PPC 2002 in evc 3? I assume PPC 2002 exe's are backward
compatible with 2000 right (unlike PPC2003 binaries which are not compatible
with previous OS versions)?
I'd rather compile for PPC 2002 instead of 2000... but I just want to make
sure that it'll run on 2000.
Thanks,
Nick Tag: Download Program to ROM Tag: 64711
Question about "Update Remote Output Files" in eVC IDE
Hi, All,
Could anybody please let me know which files are sent to the emulator when
"Update Remote Output Files" is pressed (Manually Download))?
Thanks in advance.
John Tag: Download Program to ROM Tag: 64710
Disabling scrollbars when using CFormView
Hi everyone!
I need some help. I've created a FormView dialog with a narrow listbox on
the right-hand edge and stretching the full height of the form.
In the OnInitialUpdate handler, I include the following lines to prevent
the scrollbars from appearing:
CSize sizeTotal;
sizeTotal.cx = 0;
sizeTotal.cy = 0;
SetScrollSizes(MM_TEXT, sizeTotal);
It works perfectly on my device but the emulator still shows the
scrollbars. This makes me wonder whether this method will be reliable on
other devices and if there's a better way to do it. I've also tried using
the EnableScrollBarCtrl() methods but I'm not sure if they're supported on
PocketPC. They compile without errors but don't appear to do anything and
there's no mention of them anywhere in the online help.
I'd be grateful for any suggestions.
Thanks.
Hameg. Tag: Download Program to ROM Tag: 64708
newbie ? on UDP
I am having no success "receiving" UDP packets in my EVC
3.0 / MFC application.
I have a desktop PC application broadcasting UDP packets
every second. I know that the packets are being sent out
because I can see them when I run a packet sniffer
application. They are being broadcast out port 8998 to
address 255.255.255.255.
I am also able to ping my PDA from my desktop reliably so
I know they are are on the same network.
On the PDA side, I have a thread which has opened a
datagram socket, has bound it to INADDR_ANY and is then in
a loop which uses recvfrom to look for UDP packets.
Here is the code to create/open the socket and to look for
packets:
m_socket = socket(AF_INET, SOCK_DGRAM, 0);
if (m_socket == INVALID_SOCKET) {
//<report(TEXT("SOCKET failed"))>;
return false;
}
memset(&addr, 0, sizeof(SOCKADDR));
addr.sin_addr.s_addr = htonl(INADDR_ANY);
addr.sin_port = htons(m_nPort); //<-8999
addr.sin_family = AF_INET;
rc = bind(m_socket, (struct sockaddr *)&addr,
sizeof(addr));
if (rc == SOCKET_ERROR) {
// <report(TEXT("SOCKET BIND failed"))>;
return false;
}
===========================================================
if (m_bRunning) {
fromLen = sizeof(struct sockaddr);
rc = recvfrom(m_socket, buf, sizeof(buf),
0, pFrom, &fromLen);
if (rc > 0)
<do my processing>
}
If doesn't matter whether I use the blocking form of
recvform or set it up as non-blocking and use select,
I never receive any packets.
I am out of things to try. Any ideas?
Thanks in advance,
Vikki Pitts
Safe Environment Engineering Tag: Download Program to ROM Tag: 64706
Batch file
Does anyone know if there is a possibility to write a batch file (as .bat or
.cmd files
in dos) for pocketpc? If yes, how?
thanks,
Kayhan Aksoy Tag: Download Program to ROM Tag: 64705
EVC 3.0 and compiling for older OSs
Hi,
A few weeks ago I posted asking where to get the SDKs for Palmsize PC 2.11
(Mips) and Pocket PC 3.0 (Mips). I have an application that I can compile
for Pocket PC 2002 (Arm), but I can't seem to find a way to select the other
processors or OSs. I'm using EVC 3.0.
The feedback I received was of mixed usefullness. One person said the SDKs
were included in the EVTools 3.0 download. Another person said they were
available elsewhere, but I couldn't get the link to work.
It does look as though files are available for the other processor types in
the following directories:
c:\Program Files\Microsoft eMbedded Toos\EVC\WCE200
There are also directories for WCE201, WCE210, WCE211, WCE212 and WCE300.
I'm guessing that I am just not finding the options in EVC 3.0 to allow the
seletion of the older targets. On the toolbar there is a dropdown selection
box whith the text "Pocket PC 2002" in it. An another one with the text
"Win32 (WCE ARM) Release". But no other options in either selection box. I
would expect to be able to select Palmsize PC 2.11 and Pocket PC, but those
options aren't in the lists.
Any suggestions?
Thanks,
Paul Remde Tag: Download Program to ROM Tag: 64704
EnumFontFamilies Problem
I was wondering if someone had any ideas on why I can't get this to compile.
I trying to use the same parameters as defined in the MSDN library. If I
have the callback function for EnumFontFamilies defined as:
#include <Windows.h>
int CALLBACK PaintSingleFontFamily (ENUMLOGFONT FAR *lplf, TEXTMETRIC FAR
*lpntm, int nFontType, LPARAM lParam)
I get the following error:
error C2664: 'EnumFontFamiliesW' : cannot convert parameter 3 from 'int
(struct tagENUMLOGFONT *,struct tagTEXTMETRICW *,int,long)' to 'int (__cdecl
*)(const struct tagLOGFONTW *,const struct tagTEXTMETRICW *,unsigned
long,long)'
It works fine when I have the function defined as:
int CALLBACK PaintSingleFontFamily (CONST LOGFONT *lplf, CONST TEXTMETRIC
*lpntm, DWORD nFontType, LPARAM lParam) {
Any ideas/suggestions?
Thanks,
Norm Tag: Download Program to ROM Tag: 64703
how can i disable wakeup ppc2002
I am using ppc2002 and i connect to internet using gprs but after suspend my
pocket (not disconnect only suspend) automatically after few minutes wakeup
i have tested and is due to receive a tcp/ip traffic.
thanks.
Maybe there are a registry trick Tag: Download Program to ROM Tag: 64695
sql server cd
dear all,
I want to install sql server ce, however, after I double the execute file of
sql server ce, it said that the sql server is not with sp1 or high though I
have installed sql server service pack 3
what's problem I miss or wrong
Need your help
Thx Tag: Download Program to ROM Tag: 64694
Wierd Problem: COM Port does not work any more in Emulator
Hi, All.
I wrote a serial-communication app for PPC2003 via eVC++4.0. When I run the
app in emulator from eVC++4.0 IDE, everything is fine, and I can see the
data comes from COM1. However, when I try another way to run the same app in
emulator without eVC++4.0 IDE, I found there is no data coming out from
COM1, very wierd.
Deatils about running the app in emulator without IDE: First start PPC2003
emulator, use Emulator->Folder Sharing to share the directory of the app,
then use "File Explorer" to select the app and run.
Could anybody please let me know why the COM Port does not work any more
with the same app? Thanks in advance.
John Tag: Download Program to ROM Tag: 64688
Problem: GetCurrentDirectory or any other similar function in eVC++4.0
Hi All,
I am writting applications for PPC2003 via eVC++4.0.
I tried to get the current directory by function GetCurrentDirectory(..),
but I failed. After compilation I got "error C2065: 'GetCurrentDirectory' :
undeclared identifier". I guess eVC4.0 does not support this function since
I could not find it in Help. Does anybody know how to use this function, or
any other function under eVC4.0 to get current directory or position?
Thanks in advance.
John
//My codes:
//Test
DWORD nBufferLength;
LPTSTR lpBuffer;
GetCurrentDirectory(
nBufferLength,
lpBuffer
);//Test Tag: Download Program to ROM Tag: 64686
I want to download Clearview to my IPAQ's permanent ROM (IPAQ storage). How
to I specify this memory location?