|
I am trying to write a program that will give me some basic info about my pocket pc device. I was wondering if anyone knows an API call that will tell me if there is an integrated biometric fingerprint reader on the device. I am writing this for a 2003 platform. Any help is appreciated.
Thanxs
|
|
|
|
|
Hello, i have a mobile web application and when i test it locally on my machine, the emulator is able to show the contents. However, when i try to test it with an online emulator or an actual phone, it says "could not reach the indicated web server".
I enter something like this on my phone :
"http://220.255.13.144/MyWapApp/MobileWebForm.aspx"
Anyone have any ideas?
Weiye, Chen
When pursuing your dreams, don't forget to enjoy your life...
|
|
|
|
|
can someone please help me here ? :/
im making a small pocket pc app with vs.net 2003 / c#
i need to add a small database to it ,
my first thought was pocket access , i made a small access file and transfered it ,
to my supprize there was no support for this in .net , or am i wrong?? is there some db provider for that ?
my next thought was to make a little sql ce db ...
that seems the way to go , but is there ANY easy way to design the db and then publish the db on lots of pocket pc's?
how do i get the db into the pocket pc w/o creating it by hand on the pocket pc itself???
//Roger
|
|
|
|
|
hello,Reading a text file of integers with this code
for (k=0;k<256; k++)
{
for (l=0;l<12; l++)
fscanf(fmel,"%d",&melCdb->vq[k][l]);
for(l=0;l<12;l++)
{
fscanf(fmel,"%d",&aux);
// melCdb->cov[k][l]=2*aux;
}
}
the program breaks when k=16 without any reason in
fscanf(fmel,"%d",&melCdb->vq[k][l]);
there is more than 10mb of free memory in the Pocket PC and this code works properly with the same file in in the desktop with VC++ 6.0.
Somebody knows what is the problem?
Thanks
|
|
|
|
|
Try this:
...
for (l=0;l<12; l++)
{
int value;
fscanf(fmel,"%d",&value);
melCdb->vq[k][l] = value;
...
If this doesn't help:
How do you create the array melCdb->vq[k][l] ?
Please show us your source code!
--
Cheers,
Daniel
|
|
|
|
|
Hello, the source code is
melCdb->vq=(long **)malloc((256)*sizeof(long *));
for (k=0;k<256; k++)
{
melCdb->vq[k]=(long *)malloc((12)*sizeof(long));
}
for (k=0;k<256; k++)
{
for (l=0;l<12; l++)
fscanf(fmel,"%d",&melCdb->vq[k][l]);
for(l=0;l<12;l++)
{
fscanf(fmel,"%d",&aux);
}
}
I have already checked that mallocs give dinamic memory correctly.
Thanks for your help.
|
|
|
|
|
Try this:
for (k=0;k<256;k++)
{
for (l=0;l<12;l++)
{
long* pl = melCdb->vq[k];
fscanf(fmel,"%ld",&pl[l]);
}
}
Don't forget to use %ld in the fscanf function, because this are the right syntax for a long .
--
Cheers,
Daniel
|
|
|
|
|
Do you know how data files can be uploaded to the PocketPC and Windows CE .NET?
Is it possible to create an ethernet connection between the host PC and the Windows CE emulator (or simply to create lan)?
Any information about using these emulator is appreciated. Thank you!
|
|
|
|
|
You can map a drive to a network share on the host PC from within the emulator; just open File Explorer on the emulated device and map it from there.
|
|
|
|
|
Hello!
I'm new to PocketPC development so this question might have been asked by someone else .
I use Microsoft Embedded VC++ for development. When i have created a project and wants to build it, i can only build it directly to my PocketPC. Whenever i choose "PocketPC 2002 Emulation", my computer bluescreens and reboots. There is not enough time before the reboot for reading the bluescreen content.
Any ideas?
/Christian
|
|
|
|
|
How much RAM do you have? What is your OS?
Regards,
João Paulo
|
|
|
|
|
I have a Pentium 4 1600 MHz. 256MB ram. OS is XP.
|
|
|
|
|
Try getting more RAM. At 512 MB, the emulator never crashed on my laptop (Win 2K). Also, you can try reinstalling the 2002 SDK. If everything fails (a very decent probability), consider buying a real device. I did that...
Regards,
João Paulo
|
|
|
|
|
Thanks! I've got a real device. I just thought that it would be quicker to emulate than to develop on the "real thing". Programs created and downloaded to the PocketPC i've got works just fine .
Again, thank you!
/Christian
|
|
|
|
|
Hello, I have created a Visual C# Mobile Web Application with VS.NET. In it, there is a simple mobile web form. When i try to view it in the MME Emulator, it says "No wap gateway setting or wap gateway can't be used".
Anyone know how to solve this problem?
Weiye, Chen
When pursuing your dreams, don't forget to enjoy your life...
|
|
|
|
|
Dear Friends,
Does anybody know how to set break point on a shared
memory location using Embedded VC++ 4.0 debugger.
I have a dll[C language] that allocates and uses shared
memory. I want to set break point on some memory locations
of allocated shared memory.
When set memory break point in debugger currently it is
not functioning. Execution stops there and i can not
proceed further except closing Debugger.
Thanks in advance,
subramjobmail,
2003/09/12 (11:23 JST).
|
|
|
|
|
Hello, I am working with Microsoft embedded Visual c++. If I include afx.h in the dll code when I run the main program it fails at the begining, in the code generated by the appwizard. Does somebody know the solution? or it is not allowed including afx.h in a dll?
Thanks
|
|
|
|
|
Why do you need the afx.h header file?
Daniel
---------------------------
Never change a running system!
|
|
|
|
|
You posted something to me about making wizard dialogs, but I can't find it. Any help?
------- signature starts
"...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
"You won't like me when I'm angry..." - Dr. Bruce Banner
Please review the Legal Disclaimer in my bio.
------- signature ends
|
|
|
|
|
|
Please read my post in the "Discuss this article" link (bottom of the article). There is a very important warning on the Ok and Cancel handlers. Hope you find it useful!
Regards,
João Paulo
|
|
|
|
|
Dear Friends,
Does anybody know how to get child Window Rect coordinates wrt to parent window Rect coordinates. [Something similar to GetRectInContainer()]. I want in SDK rather than in MFC.
Thanks in advance,
subramjobmail.
|
|
|
|
|
Do you mean you want the position of your client window inside the parent window?
RECT rtClient;
GetWindowRect(hClientWnd, &rtClient);
ScreenToClient(hClientWnd, (LPPOINT) &rtClient.left);
ScreenToClient(hClientWnd, (LPPOINT) &rtClient.right);
Daniel
---------------------------
Never change a running system!
|
|
|
|
|
You understanding is correct but the code block which you have given
will give only wrt to screen point.
But i want wrt to parent window RECT of hClientWnd. It should proper
values (-ve values) if scrolled [partially visible]
Something like how GetRectInContainer() gives in OCX wrt to IE
|
|
|
|
|
But the ScreenToClient method will convert the screen coordinates to client coordinates!
Daniel
---------------------------
Never change a running system!
|
|
|
|