Capture closing ppc in C#
I have an applikation that throws an error if the pocketpc poweroff if not
ues for eg. 1 minute. When I turn on the PPC, the Error is trhown.
I would lige to be able to catch if the PPC is turnd off.
Anyone know of that kind of event in C#?
Regards Karina Tag: Chat by GSM Tag: 96189
Obtain serial handle from tapi
I'm using Windows Mobile 2003 SE and QTEK9090 and I do a data connection and
I receive from TAPI connect event and in this event I try to obtain serial
handle so I run this code
DWORD dwsize;
LPVARSTRING pVarString;
dwsize=sizeof(VARSTRING)+1024;
pVarString= (LPVARSTRING) HeapAlloc(m_hheap,HEAP_ZERO_MEMORY,dwsize);
if (pVarString!=NULL)
{
pVarString->dwTotalSize =dwsize;
if
(0==lineGetID(hline,0,NULL,LINECALLSELECT_LINE,pVarString,_T("comm/datamodem")))
{
*phandle=*(HANDLE*)((LPBYTE)pVarString+pVarString->dwStringOffset);
return S_OK;
}
}
return E_FAIL;
but the handle return(*phandle) is 0
in windows XP this code works well and I can start to send and receive data
from and to serial port!!! Tag: Chat by GSM Tag: 96188
facing porting proble,s from evc++ to .netcompact frame work
Sir,
i ahve developed an application for pocket pc aplication in evc++ and now i
ahve to getit ported in .net frame work using Visual c# .when i am trying to
do that it is giving me lot of errors.
how can it be done.
Regards
naveen Tag: Chat by GSM Tag: 96186
bug with PPC2003 under evc3.0 or evc4.0
Hi,
I have designed a pocket pc Application which enables to create drawing of
house,apartement,...
I work with a Single Document Architecture(CScrollView,CDocument and
CmainFrame).
When running, the first window is the Doclist which displays the file
drawings. Then, you can open or create a file. After that, you work on your
draw and you can put rooms,doors, window,text,... by using the toolbar.
When I open or close a window (based on CDialog) over my draw, my
application crashes!!! I tryed various solutions doModal,showWindows but
it's always crash. Also, i can even get display bugs.
The worst is that appears by in random way. My application crash even with a
window displaying only Ok and Cancel buttons.
It's very boring. My bug appears only with PPC2003 Second Edition and
PPC2003 under evc3.0 or evc4.0 and not with ppc 2002.!I don't understand,
that's the same code. I think that's a memory problem.
If you have some ideas, i'll take it.
Regards Tag: Chat by GSM Tag: 96183
CCeCommandBar position
Hi,
how can I set position of CCeCommandBar in SDI application? I want to be
able to select wether command bar is located at the top or bottom of the SDI
form.
If I create command bar in dialog I can simply move it to top or bottom, but
in SDI application this approach doesn't seem to work.
Thanks for helping,
Bostjan Tag: Chat by GSM Tag: 96180
Problem with a sll on PPC 2002
Hi,
I have created a dll which permit to get two informations, the flag saying
if the PDA is in charge and the flag which is giving the batterylifepercent
information. I can get the batterylifepercent, but I can't get the second
information when I call the secound function "GetBattFlag". Here is the code :
-------------------------------------------------
// GetPowerBatt.cpp : Defines the entry point for the DLL application.
//
#include "stdafx.h"
#include "Winbase.h"
#include "tchar.h"
#pragma comment(lib, "coredll.lib")
TCHAR a_szSUC[] = _T("1");
TCHAR a_szERR[] = _T("0");
BOOL APIENTRY DllMain( HANDLE hModule,
DWORD ul_reason_for_call,
LPVOID lpReserved
)
{
return TRUE;
}
int GetInfosBatt()
{
SYSTEM_POWER_STATUS_EX powerStatusEx;
int nBattValue = 0;
BOOL fRet = GetSystemPowerStatusEx(&powerStatusEx, true);
if(fRet)
{
nBattValue = powerStatusEx.BatteryLifePercent;
return nBattValue;
}
return -1;
}
int GetFlagBatt()
{
SYSTEM_POWER_STATUS_EX powerStatusEx;
int nFlagBatt = 0;
BOOL fRet = GetSystemPowerStatusEx(&powerStatusEx, true);
if(fRet)
{
nFlagBatt = powerStatusEx.BatteryFlag;
return nFlagBatt;
}
return -1;
}
///////////////////////////////////////////////////////
// Function: Retourne le pourcentage de batterie restante.
//
// Parameters:
// 1 [OUT] - Value
// 2 [OUT] - Result
extern "C" void GetBattInfos(TCHAR** pData)
{
static TCHAR pszData[33];
int flagVal = GetInfosBatt();
LPTSTR str1 = _T("");
char *buffer1 = "";
if(flagVal != -1)
pData[1] = a_szSUC;
else
pData[1] = a_szERR;
_itoa(flagVal, buffer1, 10);
int size1 = MultiByteToWideChar(CP_ACP, 0, buffer1, -1, NULL, 0);
MultiByteToWideChar(CP_ACP, 0, buffer1, -1, str1, size1);
pData[0] = str1;
}
///////////////////////////////////////////////////////
// Function: Retourne le flag de batterie disant si cell-ci est sur le puits
ou pas.
//
// Parameters:
// 1 [OUT] - Value
// 2 [OUT] - Result
extern "C" void GetBattFlag(TCHAR** pData)
{
int flagBatt = GetFlagBatt();
LPTSTR str2 = _T("");
char *buffer2 = "";
if(flagBatt != -1)
pData[1] = a_szSUC;
else
pData[1] = a_szERR;
_itoa(flagBatt, buffer2, 10);
int size2 = MultiByteToWideChar(CP_ACP, 0, buffer2, -1, NULL, 0);
MultiByteToWideChar(CP_ACP, 0, buffer2, -1, str2, size2);
pData[0] = str2;
}
-------------------------------------------------------
Thanks for any help. Tag: Chat by GSM Tag: 96179
Serial port
Hello,
I have a Win32 application (made with Delphi) that send datas to some
machines via Serial port (RS232).
I don't have a Pocket PC and I would like to have something similar with
PocketPC.
so 2 questions :
- it is possible to use a Serial Port with a PocketPC?
- is there any library of component that make it possible to program this?
thanks
John Tag: Chat by GSM Tag: 96176
pictures to bytearray
Hello NG,
I want to save pictures from my pocketpc to a sqlserverce database. How can
I do this? The function "image.save" I cant find in the compactframework. I
use VB .NET.
Thank you for your help.
Karsten Baumann Tag: Chat by GSM Tag: 96171
Connection problems with my PPC
Hello everyone,
I have a desktop utility that performs a task on my PPC, however it says it
can not establish a connection with my PPC. However, ActiveSync is on, and
synched up and green.
Also, this happens sometimes when I try deploying a VS.Net app to my device
too. It is intermittent, though, and I can not determine why or why not my
application won't deploy.
Does anyone have any suggestions for what I can do to trouble shoot this
issue? I really am in need of having my desktop app that connects to my PPC
run.
Thanks for the help in advance Tag: Chat by GSM Tag: 96170
How to fetch a file's size from a server via HTTP and request headers?
Our PPC (WinCE) MFC app is using CHHTPConnection and CHTTPFile to download a
file via HTTP. The problem is that if the file is larger than the device's
cache supports, MFC throws an error: Error: 12158:
ERROR_INTERNET_UNABLE_TO_CACHE_FILE.
Is there a way we can determine the file size of the file BEFORE we receive
this error?
Here is our current code.
NOTE: dwFlags=0. We can NOT use INTERNET_FLAG_DONT_CACHE as a flag since
WinCE does NOT allow this flag.
---------------------------------------------------------------------------------------------------------
file = connection->OpenRequest(1, strFile, NULL, 1, ppszAcceptTypes, NULL,
dwFlags);
file->AddRequestHeaders("");
file->SendRequest(); <============ This is where MFC throws the
exception
// Get file length & last modified date of file.
file->QueryInfo( HTTP_QUERY_CONTENT_LENGTH, dwLen, NULL ); <==== this is
where we would normally get the file size
---------------------------------------------------------------------------------------------------------
So my question is: What possible call(s) can we make to retrieve the file
size of the file so as to avoid the ERROR_INTERNET_UNABLE_TO_CACHE_FILE
error?
Remember:
1) This is WinCE using eVC++ 3.0
2) We can NOT use the INTERNET_FLAG_DONT_CACHE or the
INTERNET_FLAG_PRAGMA_NOCACHE flag.
My guess would be that we need to formulate some sort of request header
string, but I don't know what that would look like.
Can anyone provide any guidance?
Many thanks experts! Tag: Chat by GSM Tag: 96168
DeviceToDesktop/DesktopToDevice Function
I'm doing small program using VB 6 to tests receive/send from/to pocketpc
pda files.
I have used DeviceToDesktop function successfully but DesktopToDevice not
jet.
Some helps mention CERapiInit or CERapiInitEx functions from rapi.dll should
be used before above functions to clear Windows CE Rapi but I don't know how
I should declare CERapiInit function.
Code used:
Private Declare Function DESKTOPTODEVICE Lib _
"c:\program files\Microsoft ActiveSync\adofiltr.dll" _
(ByVal desktoplocn As String, _
ByVal tablelist As String, _
ByVal sync As Boolean, _
ByVal overwrite As Integer, _
ByVal devicelocn As String) As Long
Private Declare Function DEVICETODESKTOP Lib _
"c:\program files\Microsoft ActiveSync\adofiltr.dll" _
(ByVal desktoplocn As String, _
ByVal tablelist As String, _
ByVal sync As Boolean, _
ByVal overwrite As Integer, _
ByVal devicelocn As String) As Long
...
Dim Lresult As String
Lresult = 0
Lresult = DESKTOPTODEVICE(App.Path & "\prueba.mdb", "Clientes..", False,
True, "\prueba.cdb")
...
*****
Above function returns 0 then it have success.
*****
Lresult = 0
Lresult = DESKTOPTODEVICE(App.Path & "\prueba.mdb", "Clientes..", False,
True, "\prueba.cdb")
...
*****
Above function returns -2146824448 then it have not success.
*****
How should I declare CERapiInit function?
Maybe I'm doing something else wrong. What could be?
THANKS! Tag: Chat by GSM Tag: 96167
DEVNODE and Drive #
Dear All,
I know this is probably the wrong place to post this question. But I'm
desperate for answer so I post it here anyway:
Given a DEVNODE for a removable device (i.e. USB mass storage device), how
to find out the associated drive number (i.e. E: or F:)? or vice versa?
Any help is greatly appreciated.
Best regards,.
George Tag: Chat by GSM Tag: 96164
How to start ActiveSync synchronisation from Program
When I start repllog.exe on PocketPC I need to press button (on
ActiveSync GUI), so the synchronisation starts.
How to start synchronisation from programm without pressing button on
GUI?
I am using ActiveSync build-in possibility to synchronize with Exchange
over GPRS (In settings there is tab for synchronisation with Exchange) Tag: Chat by GSM Tag: 96162
fullscreen problem
Hmm,
when I make a fullscreen window (GAPI) and tip the bottom border, I
can see the SIP flickering below - I must have opened it. But I
disabled it with ShFullscreen API. Any ideas?
--
-Gernot
int main(int argc, char** argv) {printf
("%silto%c%cf%cgl%ssic%ccom%c", "ma", 58, 'g', 64, "ba", 46, 10);} Tag: Chat by GSM Tag: 96159
Pocket Outlook custom forms
Is there any sample code available to help me understand how to implement a
custom form for Pocket Outlook?
I have implemented IFormProviderEx, and put in code for CreateComposeForm
and implemented an IMessageFormEx and appropriate window. I've got to the
stage of getting my form type on the New menu in Pocket outlook, and for a
blank window to appear when its selected (proving my custom form is being
called properly). But the documentation is pretty scant for this stuff and
doesn't really give me much of a clue as to how I should proceed. What would
be really good is some sample code that creates an email using a custom form.
Is there any?
Cheers,
Damian Wilson Tag: Chat by GSM Tag: 96152
Difference between CreateFile & Com_Open
Hi,
For a serial port device like modem, can any one please tell me the
difference between the APIs CreateFile(), COM_Open() and HWOpen().
Thanks,
Arsalan Tag: Chat by GSM Tag: 96148
INTERNET_BUFFERS in Evb
Hi,
I want to do the following thing :
Send file with httpsendrequestex, it's run fine on VB6 in a PC
I want to translate into eVB, and eVB do not want INTERNET_BUFFERS
structure type.
How can i do , use requestheader ? how ?
Thanks for help
(sorry for my english) Tag: Chat by GSM Tag: 96147
drawing curves in c#
hello,
do you know a component (like that http://zedgraph.sourceforge.net but for
compact framework) which make it easy to draw curves from points lists, which
vary in time like an oscilloscope, and with automatic managing of scale and
zoom changing?
Thank you very much
Thibaud Tag: Chat by GSM Tag: 96146
Debugging on Pocket PC now fails
Morning all,
I have been developing my pocket pc app for a while now, all with great
sucess. running on my pocket pc and 2002 emulator was fine: However
I got a little cocky and installed the emulator images for 2003 etc. now, I
can debug/run in the emulator but I get a connection error when trying to run
it on my pocket pc. activesync is working just fine so cant understand the
issue.
helllp!!!
Matt A Tag: Chat by GSM Tag: 96142
CeAppManager and Uninstall key
I'm bewildered by the documentation at
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wcesetup/html/_wcesdk_Creating_an_ini_File_for_the_Application_Manager.asp
This states that "the name must match the application's registered Windows
Uninstall key name, which is found in the
HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall registry key".
Now there is of course no such thing as **the**
HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall registry key,
because we are talking about two different Registries here - one on the
desktop computer and one on the handheld.
Can anyone un-bewilder me? I'm inclining towards the idea that this refers
to the desktop registry but I'm not absolutely sure, and without an explicit
description of what program uses this value, when, and what for, it's hard
to be sure.
To clarify: I'm looking at a model where people download a setup program
which unpacks the .cab and .ini files into a temporary directory, runs
CeAppManager, and deletes the temporary files that it created. In this
scenario, therefore, I suppose that there will be nothing permanent on the
desktop PC and so the value of the Uninstall key won't be relevant. Am I
right?
An alternative would be for the downloaded setup program to unpack the .cab
and .ini files and store them somewhere permanent, to allow for multiple
installations etc. In that case I *imagine* that I should provide an
uninstaller program for the .cab/.ini combination just as I would for
anything else that I installed in Windows. Is this correct? The result would
be that the .cab/.ini combination would appear in the desktop's Settings >
Add/Remove Programs list, just like any other installed program. Is this
correct also? Tag: Chat by GSM Tag: 96140
ActiveSync synchronization
Hi,
Hope I'm asking this in the right group.
I've an application running on a ppc which collects som input
data and save's this in a file.
On the pc an app is running which must be sync'd with the collected data.
When I connect the ppc ActiveSync detect the connection.
What I wanna do is that when the ppc is connected my app detects this
and copies the file with the collected data from the ppc. Deletes the
file on the ppc. And puts a new file on the ppc.
Could anyone point me to some information (example) on how to do this.
Thanks,
Gene. Tag: Chat by GSM Tag: 96138
PPC 3rd party UI components
Hello
I am looking to acquire some .NETCF components for use (mainly) on PocketPC,
for appliation development under VS2003.NET
I need Editors, Grids, signature capture - that kind of thing.
I have found a company at www.resco.net which appears to sell just the kind
of thing I need. I'm very tempted, but before diving in I wondered if
anybody had comments about experiences with the components and the company.
So far, my experience has been excellent, but I only discovered them a
couple of days ago.
Can anybody recommend other vendors of these kinds of components for me to
evaulate?
Many thanks
Clive Crocker Tag: Chat by GSM Tag: 96137
a "real" emulator?
Hi,
can I test the "real" binaries on any ARM processor emulator? Is there
such thing? Because debugging ARM asm code on the SDK emulators is not
possible, since it's x86, right?
Also, I'm developing using GCC, so the output might differ from the
eVC results.
--
-Gernot
int main(int argc, char** argv) {printf
("%silto%c%cf%cgl%ssic%ccom%c", "ma", 58, 'g', 64, "ba", 46, 10);} Tag: Chat by GSM Tag: 96132
Flickering with GAPI+3D
Hi,
I have tried Klimt and TinyGL packages for the PocketPC to draw on a
"new short[320*240]" buffer. On the PC, where I use that memory as a
bitmapm it works great. On the PPC however, the 3D part is flickering,
every 3rd to 10th rendered frame is black. On both engines. So... any
idea what might cause such trouble?
With Klimt only the 3D is flickering, with TinyGL even my 2D drawing
(Prints FPS afterwards) stuff blinks.
Any idea how to trace this down? I don't have eVC, I use a GCC.
Thank you,
--
-Gernot
int main(int argc, char** argv) {printf
("%silto%c%cf%cgl%ssic%ccom%c", "ma", 58, 'g', 64, "ba", 46, 10);} Tag: Chat by GSM Tag: 96130
Retrieving the Cell ID
Hi All,
I've a requirement of getting the cell ID which you normally see on your
cell phones. Similarly I've a PDA which is GPRS enabled i.e., it has a SIM
card from which i need to get the cell id and notify the user from my
application; when the users move into different location with the PDA.
Any ideas or if anyone share a sample which you wrote would be
preferrably good.
Thanks in advance,
Sathish. R Tag: Chat by GSM Tag: 96128
Change target device to ppc 2003
Hi,
I'm currently developing an application in Visual Studio .NET 2003 in C# for
a pocket pc 2002 device. However, I'd like to have the ability to change the
target from pocket pc 2002 to pocket pc 2003. But I can't seem to find where
that setting would be. I've installed the Pocket Pc 2003 SDK and emulator,
however I can't find the option to debug with the ppc 2003 emulator. Please
provide me with references or information how I may resolve this.
Thanks,
Steven808 Tag: Chat by GSM Tag: 96127
Disabling notification bubbles
Hi all,
I am desperately looking for a way to temporarily disable those
annoying notification bubbles.
The most straightforward approach I could come up with was blocking
WM_USER_PACKET_NEW messages to the process managing notifications.
Unfortunately Windows CE does not seem to support message hooks.
Another approach would be to try and pause the process managing
notifications. No idea how this can be accomplished, though. Maybe
killing and later restarting it might be an option, if I knew how.
What seems to work is using SendMessage to broadcast a WM_LBUTTONDOWN
with yPos=0xFFFF to all windows, thus dismissing all popup-bubbles.
This, however, doesn't work for the "Incoming Call" Bubble which keeps
popping up again. I also tried sending DestroyWnd, changing the
z-index, resizing the bubble to 0-width - all in vain.
Do you have any suggestions?
Kind regards,
Wolf Tag: Chat by GSM Tag: 96124
deployment issue
Hi,
I have developed an app for Win mobile based pocket PC and it is working
good. Now I am having trouble deploy it as a regular app. I am using
InstallShild Express to make the setup file. For Windows Mobile based Pocket
PC, could anyone help me with the most appropriate "processor type" to be
specified? My pocket pc is Qtek.
Regards, Tag: Chat by GSM Tag: 96102
Desktop - PocketPC Process Notification
Hi,
I have developed both a Desktop and Pocket PC app. The Pocket PC app
is launched using the Desktop app. I would like to get notification on
the Desktop when the process on the PocketPC ends. Rightnow I write a
file on the PocketPC at the end of the process and from the Desktop app,
I poll to see if the file is there.
I would like to know if there is API on Desktop to signify the
end of the process on the PocketPC. If not, what is the best way to do this?
Any thoughts or ideas are appreciated.
Thanks,
Kris Tag: Chat by GSM Tag: 96100
Emulator is slow
Hi guys,
I use VS.NET2003 to develop my project for PocketPC
now When I debug my project step by step.
it is toooooooooooo slow.
One step 2 min at least. why?
any suggestion will be appreciated Tag: Chat by GSM Tag: 96099
Access to privileged methods on PPC
Hi all,
I would like to know the way to call privileged methods on PPC.
I know that on Smartphone we need to sign applications to solve the issue
but on PPC there is no option to sign them.
My question is then how is it possible to run privileged functions on a
pocketPC (for instance SIM manager API methods...).
thanks a lot for your help. Tag: Chat by GSM Tag: 96097
Downloading CAB files with Pocket Internet Explorer
OK, the app is ported and tested on the target device.
The MS documentation says: "For example, an end user can use Pocket Internet
Explorer on a Windows CE-based device to download the appropriate .cab file
and run the file on the device to install the application", but when I
upload the .CAB and try downloading it through Pocket Internet Explorer, it
treats it as a text file and attempts to display it instead of saving it.
Should I be doing something different in PIE, or does something need
reconfiguring on my web server (Apache)? IE 6.0 correctly offers to download
the file. Tag: Chat by GSM Tag: 96095
wm_copydata
Hi,
I am using wm_copydata to send messages to another window but sometimes I
see an extra character at the end of the message in the other process. The
message on my side before sending seems correct but sometimes an extra
character is appended on the receiving applications end. I am not sure why
this is happening ,This is my code
char* data = new char[13000];
CWnd *pOtherWnd = CWnd::FindWindow(NULL, WindowName);
LRESULT copyDataResult;
if (pOtherWnd)
{
COPYDATASTRUCT cpd;
cpd.dwData = 1;
cpd.cbData = strlen(data);
cpd.lpData = (void*)data;
copyDataResult = pOtherWnd->SendMessage(WM_COPYDATA,(WPARAM)
AfxGetApp()->m_pMainWnd->GetSafeHwnd(),(LPARAM)&cpd);
return true;
}
Any help is greatly appreciated
Thanks,
-Jimmy Tag: Chat by GSM Tag: 96092
OLEDB support for Windows Mobile 5.0
Files required for OLEDB support (oledb.h and oledb.lib) are missing from the
Magneto SDK. Is this by design? Can I get them from another location. Tag: Chat by GSM Tag: 96089
Trouble with Pocket PC 2003 SDK and Embedded C++ 4.0 SP4
Hello all,
I am running an Intel Centrino with windows XP SP2.
In order, I installed:
1) Embedded C++ and its SP4
2)Standard SDK
3)Windows CE
4)Pocket PC 2003 SDK
5)Active Sync
I have two question:
1) When I turn on my PC, a message says that Windows CE make Instable my PC
and I must delete "\pae" in the file "boot.ini". I was in this file but I
didn´t find this "\pae".. Somebody meet the same trouble? Some suggestion?
2)When I try to run Pocket PC 2003 Emulator and when I try to debug a simple
"Hello world" file by embedded C++, shows me this error message:
"one or more files from emulation windows CE installation is missing. Please
reinstall emulator for windows CE and try again".
I try to reinstall all and in evry possible order without solve my problem..
What´s happen?
I am a beginner about this things so I hope someone can help me..
Thanks all in advance,
by dag Tag: Chat by GSM Tag: 96088
wfmtmidi.h is missing from SDK
This file is needed for midi development, was present in earlier
Mobile SDK's and is not present in the May 10 SDK. Is there an
alternative approach? Tag: Chat by GSM Tag: 96087
graphics and diagram with pocket
Does anyone has developed application with graphics or diagram within
.compact framework?
thank you in advance
best regards
marco Tag: Chat by GSM Tag: 96083
debug build problem with POcket PC 2003 IPAQ 2410 device
Hi
When i build using EVC4.0 with SP3 and POCKET PC 2003 SDK..with
WINCE ARMv4 Debug option ,i can launch my application but when i launch
a dialog and close this dialog the Device just hangs and connection is
lost so debugger stops..
But if i build with POCKET PC 2002 and EVC3.0 for Release then no
issues...
Can somebody help me out,its highly apprecaited... Tag: Chat by GSM Tag: 96082
Keeping track of activation and power-off?
I'm porting a diary-type application to Pocket PC, and one of the
requirements is that if, on Wednesday you are displaying information for
Wednesday, and you then go away from the application and come back to it on
Thursday, you should see information for Thursday and not Wednesday.
This implies that:
1. As long as you are actively in the diary app, the date it displays
information for should not change automatically.
2. If you switch from the diary app to a different application and come back
to the diary app the next day, the date should change automatically [*if*
the diary app was displaying information for today at the time you
switched].
3. If you switch off your Pocket PC while it's in the diary app and then
switch it on the next day, the date should change automatically.
[1] is easy.
[2] is easy if the diary app is actually terminated when it's switched away
from... but of course that normally won't be the case. If it's
smart-minimized by the user tapping "X", I'm not sure how to detect this.
WM_ACTIVATE doesn't do it, according to the documentation, since it gets
sent when [for example] you open a dialog box within the application. On the
other hand, actual debugging on the x86 platform shows that wParam=lParam=0
when the user taps "X" and not when a dialog box opens. Can this distinction
be relied on or is there a different way of detecting smart-minimization?
[3] is tricky but for different reasons, because the application remains
"active" even when the power is off. I've read about notifications but it
appears that handling the power-on notification involves actually running my
app every time the power is turned on... which is a bit of a waste if the
user isn't, in fact, using it.
Any suggestions would be very welcome. Tag: Chat by GSM Tag: 96075
Printing with Epson Fx-880 dot matrix printer from Pocket PC
I need to Print to Epson Fx-880 dot matrix printer which is connected
using bluetooth from my Pocket PC application.
How to do this? I am not able to find any SDK from Epson for devices.
Whether I need to use serial data sending method?
Is there any solution for this?
Expecting a reply quickly.
Sarathy Tag: Chat by GSM Tag: 96074
SimWriteMessage example
Hi all,
Does anyone has an example that is using the SimWriteMessage method of the
SIM manager API?
Thanks in advance. Tag: Chat by GSM Tag: 96071
How to view crash dump?
Hi,
My new WM 2005 Smartphone emulator (dw.exe to be precise)
just generated a cute looking crash dump.
The problem is that it only displays the crash dump
within the tiny emulator window and does not allow
me to save it or view it on the desktop PC.
The dump is very long (more than 100K)
and there is no way to analyze it on the Smartphone screen.
Please, tell me how can I view the dump on desktop PC.
Thank you
John Tag: Chat by GSM Tag: 96066
How to retrieve crash dump information?
Hi,
My new WM 2005 Smartphone emulator (dw.exe to be precise)
just generated a cute looking crash dump.
The problem is that it only displays the crash dump
within the tiny emulator window and does not allow
me to save it or view it on the desktop PC.
The dump is very long (more than 100K)
and there is no way to analyze it on the Smartphone screen.
Please, tell me how can I view the dump on desktop PC.
Thank you
John Tag: Chat by GSM Tag: 96065
How to reset pocketpc
Does anyone know how to restore/reload win mobile 2003 2nd ed on a pocketpc?
(sim to reinstalling windows on a pc)
Any help would be appreciated Tag: Chat by GSM Tag: 96059
Emulator Storage Problem
I am a newer to PocketPC
I create a application by using VS.NET 2003.
When I debug my application, I got a Storage problem
"Storage memory is critically low.If you do not increase storage memory, you
may not be able to statr some programs.Use File Explorer to delete files you
no long need,or move some files to a storage card"
My application platform:PocketPC 2002 Emulator.
By the way, I want my application run on PocketPC2003.
How to create PocketPC2003 platform?
Thanks Tag: Chat by GSM Tag: 96057
How to solve TCP connection issue to debug on a PocketPC
Hi,
I'm currently developping a Windows application for PocketPC with Visual
Studio 2003.
Since our HHP 9500 Dolphin PocketPC has no USB cradle, we cannot use
ActiveSync (else it conflicts with the utility tool in charge of the
connection to the Ethernet base)
To debug via TCP/IP, we tried (and succeeded) to change Tools / periph TCP
transport configuration, replacing the option "IP adress provided by
ActiveSync" by the option "static IP address", this IP address set to the IP
of the slot receiving the PocketPC.
Few days ago, debug worked fine using this settings.
However, I have not been able to reproduce that way of debugging today...
Visual Studio attempts to establish a connection but fails with a message
"Unable to establish the connection. Check ..."
I think that PocketPC <=> computer connection is actually good, since ping
work in both directions, and I can use a tool which replicates the screen of
the PocketPC on the screen of the computer (this tool is setup to use TCP
transport, and not ActiveSync)
Could you tell me some advice on the possible causes of that issue, and the
way to solve the problem ?
Thanks a lot for your time.
Regards,
Samuel Tag: Chat by GSM Tag: 96056
SQLCeConnection.ConnectionString
Good evening NG
it's the first time that i try to write a CE Application... ;-)
Based on VS 2005 Beta 2 i started to write a application that
shows the conntend of a SQL CE 3 Database. Simple i guess.
Dim loCN As New SqlCeConnection()
loCN.ConnectionString = "Data Source ="".\AppDatabase1.sdf"";"
Dim loAD As New SqlCeDataAdapter("SELECT * FROM tblMobileZeit", loCN)
Dim loDT As New DataTable
loAD.Fill(loDT)
loAD.Dispose()
Me.gridMain.DataSource = loDT
I stumble over the connectionstring !
How can i pass the location of a file under Win CE ?
I found no 'application.startuppath' or something else (beta 2 bug ?)
please give we a hind ...
regards
peter Tag: Chat by GSM Tag: 96051
SimWriteRecord on pocketPC HP h6340
Hi all,
I have a question related to the SIM manager API.
I am trying to read/write data to the SIM card using an HP h6340 PDA and I
can read data but cannot write:
- SimWriteRecord is not working
- simReadRecord is working well
This is very strange that we can easily read but not write.
Do you have any idea?
Could it be due to a problem of application signature? but it seems that it
is not possible to sign application on ppc. Tag: Chat by GSM Tag: 96050
ERROR 28001 - SSCE_M_INTERNETREADERROR
28001 A read operation from the Internet returned an incorrect number
of bytes. Not applicable SSCE_M_INTERNETREADERROR
Hi,
I have developed an application using CF 1.0 & CE 2.0 using merge
repplication.
When I use a Internet GPRS connection, the application run perfect.
When I use a VPN GPRS connection, I obtain the 28001 ERROR.
What meaning this error ?
What I need to modify in VPN to obtain a succes replication ?
Exist a sniffer for Pocket PC to monitoring network ?
Thanks in advanced ....
(Spanish is my native language.... sorry) Tag: Chat by GSM Tag: 96049
Can i develop an application to connect two smartphone pocket PC together by
GSM and chat throw a serial data comunication?