Email Status Exception
hi, all
I develop an project about Email issue.
When I look message on Inbox Folder.
If the message only is download partialy.
I want to set a REMOTE DOWN flag, ant sync mail to continue until whole
message
be download.
But When I set REMOTEDOWN FLAG, I always get exception and quit my
application.
Please help me:
My source:(IMesssage* m_pMessage)
BOOL CMAPIMessage::SetDownLoadNext()
{
TRY
{
CLogger::Record(_T("(Warning) CMAPIMessage::SetDownLoadNext: "));
SPropValue prop[1] = {0};
prop[0].ulPropTag = PR_MSG_STATUS;
prop[0].Value.ul = MSGSTATUS_REMOTE_DOWNLOAD;
HRESULT hr = m_pMessage->SetProps(1,prop,NULL);
CLogger::Record(_T("(Warning) CMAPIMessage::SetDownLoadNext: "));
if (FAILED(hr))
{
CString strError;
strError.Format(L"%X.",hr);
CLogger::Record(_T("(Warning) CMAPIMessage::SetDownLoadNext: ") +
strError);
return false;
}
}CATCH_ALL(e)
{
TCHAR szError[256];
e->GetErrorMessage(szError,256);
CString strError = szError;
CLogger::Record(L"(*Error*) Synchronizing service exception: " + strError);
return false;
}
END_CATCH_ALL
return true;
}
I can not catch the Exception:
Exception Code: 0xc0000005
ExceptionAddress:0x03ab1ce0
Reading:0x2be6a11c
Thanks Tag: How to prevent file deletion on a memory card? Tag: 97062
sms sending issue..
Hi,
This is the code I am using to send sms from my pocketpc, T-Mobile GRPS
conenction. I am able send SMS from the device if I compose the message on
the phone. If I am trying to do that same programmatically in an application
I am workign on.. it does not work. This is the code I am using. I referred
to reference technical articles and I dont seem to find any obvious mistake
in my code.
Also with reference to the code pasted below, I tried SMSAT_NATIONAL as well
as SMSAT_INTERNATIONAL with number string format to be "+1.911.911.9111" and
"9119119111". {ofcourse this is not the exact number I used..} Please help..
------------------------
HRESULT sms_open_result = NULL;
HRESULT setsmsc_result = NULL;
HRESULT msgstatus_result = NULL;
HRESULT sendsms_result = NULL;
SMS_HANDLE sms_handle;
SMS_ADDRESS smsaDestination;
SMS_MESSAGE_ID message_id = NULL;
TEXT_PROVIDER_SPECIFIC_DATA tpsd;
sms_open_result = SmsOpen(SMS_MSGTYPE_TEXT,SMS_MODE_SEND,&sms_handle,NULL);
if (sms_open_result != ERROR_SUCCESS) {
wsprintf(ERR_STR,_T("SmsOpen fail %x %d"),sms_open_result, GetLastError());
TimedMessageBox(NULL,ERR_STR,_T("SMS Error: Try Again"),MB_OK,2500);
return;
}
if(sms_handle){
smsaDestination.smsatAddressType = SMSAT_NATIONAL;
lstrcpy(smsaDestination.ptsAddress, TEXT("91191191111"));
tpsd.dwMessageOptions = PS_MESSAGE_OPTION_NONE;
tpsd.psMessageClass = PS_MESSAGE_CLASS0;
tpsd.psReplaceOption = PSRO_NONE;
char szMessage[] = "Howdy!How Are you?";
sendsms_result =
SmsSendMessage(sms_handle,NULL,&smsaDestination,NULL,(PBYTE) szMessage,
strlen(szMessage)+1,(PBYTE)&tpsd,12,SMSDE_OPTIMAL,SMS_OPTION_DELIVERY_NONE,&message_id);
SmsClose(sms_handle);
sms_handle = NULL;
}
----------------------------------
Regards, Tag: How to prevent file deletion on a memory card? Tag: 97061
Creating Virtual COM Ports?
I'm developing an application that will create and open for
output, virtual "COM" ports. I will be sending GPS NMEA strings, either real
time, or from a file, to these virtual ports. I've found the following code,
which seems to work up to the point that is here, BUT, now what do I need to
do to make the virtual port visable to other applications so that they will
see them as a COM port option. I'm sure it has to be added to the Active
part of the registry, but do I add it to the registry myself, or is there
some API that I should be calling? Any code examples that show what I need
to do? Also, I "ASSUME" that I can use "hDevOpen" handle to write the
strings out to(?). Any help and assistance is GREATLY appreciated. Thank
you. - Steve
#define RFCOMM_CHANNEL_MULTIPLE 0xfe
HANDLE hDev, hDevOpen;
PORTEMUPortParams pp;
TCHAR szDrvName[6];
//
// Create a virtual COM port
//
int CreateVirtualPort()
{
int i, rc;
memset (&pp, 0, sizeof (pp));
pp.channel = RFCOMM_CHANNEL_MULTIPLE;
pp.flocal = TRUE;
pp.uiportflags = 0;
// Find free instance number and load Bluetooth virt serial driver
for ( i = 9; i >= 0; i--) {
hDev = RegisterDevice (L"COM", i, L"btd.dll", (DWORD)&pp);
if (hDev) break;
}
// See if driver registered
if (hDev == 0) return -1;
// Form the driver name and save it.
wsprintf (szDrvName, TEXT("COM%d:"), i);
// Open the driver name and save it.
hDevOpen = CreateFile (szDrvName, GENERIC_READ |
GENERIC_WRITE, 0, NULL, OPEN_EXISTING, 0, NULL);
if (hDevOpen == INVALID_HANDLE_VALUE) {
DeregisterDevice (hDev);
return -2;
}
VirtualPort_Handle = hDevOpen;
wcsncpy(VirtualPort, szDrvName, 4);
SetDlgItemText (GPS_Settings_hwnd, IDC_GENERATED_VIRTUAL_PORT, szDrvName);
DWORD port = 0;
DWORD dwSizeOut;
rc = DeviceIoControl (hDevOpen, IOCTL_BLUETOOTH_GET_RFCOMM_CHANNEL, NULL,
0,
&port, sizeof(port), &dwSizeOut, NULL);
return 0;
} Tag: How to prevent file deletion on a memory card? Tag: 97059
determine the change of screenorientation in onResize() methode
hi all,
how can i determine, that the screen orientation has changed in on
resize method? this method is called more than once Tag: How to prevent file deletion on a memory card? Tag: 97054
sample app?
any sample applicaiton shows MFC Dialog with scroll bar when SIP is UP?
--
--
Thanks,
Arvind Tag: How to prevent file deletion on a memory card? Tag: 97050
conversion form C++ to c#
Sir,
I am trying to port my c++ code which i have written in evc++ for
pocket
pc. I want to port it VisualC# application.
But i am facing problem in converting.
fscanf(file, "%d %d",&(gd.edges[i].vert1), &(gd.edges[i].vert2));
is ther any alter native for it in C#
Regards
Naveen Tag: How to prevent file deletion on a memory card? Tag: 97049
SAPI for Windows Mobile
Guys
Does anyone know if SAPI will be available for WM devices ?
Thanks
Ian Tag: How to prevent file deletion on a memory card? Tag: 97043
Recording WAV file
Hello Experts,
Forgive me if this is too simple, as I'm completely new to .net based Mobile
Application Development environment.
How can I record an audio file from my application? Also, where is the MSDN
documentation available for mobile application developer toolkit!?
Any comments/suggestions are welcome.
Thanks for reading,
Vicky Tag: How to prevent file deletion on a memory card? Tag: 97042
How To hide an app from task switchers?
I've done an evC++ app that shows battery as a little barat the bottom of
the screen.
I want to hide the App from task switchers in order to avoid being closed
when "close all app" are selected.
First I've tried creating the windows with the extended style
WS_EX_TOOLWINDOW set, and it works and hide the app for the control
panel-memory applet-task switcher and for WISbaar Advance 2, but not for
some others like Vbar.
Then I've found this link related to Windows 2000:
http://msdn.microsoft.com/msdnmag/issues/0500/c/ that talks about creating a
hidden main window with extended style WS_EX_TOOLWINDOW set and a Child
window with WS_EX_APPWINDOW turned off.
I've tried it, but WS_EX_APPWINDOW isn't supported on pocket pc, and if I
hide the main window the child window is also hidden (but the app doesn't
appear in Vbar). If I show the main Window, even without content and border,
then works but the child window doesn't remain as WS_EX_TOPMOST and also it
appears in Vbar.
The last try was only the main window, hidden and paint directly to the
screen (hDC = ::GetDC(NULL);) It works. The app doesn't appear in Vbar and
the battery is shown, but I can't interact with the window. I've an
ON_LBUTTON_UP to show a dialog for closing the app and I cannot show it in
this mode.
I've not more ideas: Does anybody knows how to hide completely an APP from
taskbars and remain visible and clickable? It have to be psiible because I
know some app that do this, like the icons in menubar and many others. Tag: How to prevent file deletion on a memory card? Tag: 97041
iPAQ h6340 serial problem
Hi PPC experts,
Could anyone please turn some light over h6340 internals? I'd like to use Tag: How to prevent file deletion on a memory card? Tag: 97037
fullscreen - going nutz
It's so ridiculous. Now I remember the positions of the SIP / INputbar
and after restoring them, the SIP icon is missing...
Can anyone _please_ post a working fullscreen function that disables
touching the SIP or something when it gets reactivated?
--
-Gernot
int main(int argc, char** argv) {printf
("%silto%c%cf%cgl%ssic%ccom%c", "ma", 58, 'g', 64, "ba", 46, 10);} Tag: How to prevent file deletion on a memory card? Tag: 97036
Activate Document with view
Hello,
I've created an application with a single document. It works great for most
part. However, if I open a dialog box from the view, and when I close the
dialog box, my document (view) disappears. How can I activate the document
again and update the view after I close the dialog box?
Any code snippet or links are greatly appreciated.
Thanks Tag: How to prevent file deletion on a memory card? Tag: 97024
how to measure response time of a Mobile Web Application
I'm trying to measure the response time of a mobile web application developed
for Pocket PC's. I'm accessing the application using an iPAQ and want to
record the time it takes from the inital request and to the arrival of the
last byte of the response, which is in fact TTLB (time to last byte).
However, I could only find ACT for measuring TTLB. But ACT works on a desktop
or server. I would like to measure the response time over a real GPRS network
on the mobile device.
Is there way to accomplish this issue?
thanks Tag: How to prevent file deletion on a memory card? Tag: 97023
Windows Template Library 8.0
Hi,
Does anyone know when WTL 8.0 will be released? All my Pocket PC apps use
WTL 7.1. I can't port them to WM2005 because WTL 7.1 will not compile in
VS2005.
Thanks,
Herbert Tag: How to prevent file deletion on a memory card? Tag: 97022
VS 2005 error
Hi,
Using the Windows Mobile 5.0 Pocket PC Emulator, when I start debugging my
application I now get a message on the emulator side saying:
"A problem has occurred with MyApp.exe
Please tell Microsoft about this problem, at no cost to you. The data is
used exclusively to improve products.
Show report details (hyperlink)
Turn off error reporting (hyperlink)."
I then get a dialog box in Visual Studio entitled "Microsoft Visual Studio -
Unable to start program '%CSIDL_PROGRAM_FILES%\MyApp\MyApp.exe'. This
operation returned because the timeout period expired".
I have a breakpoint on the first line of code in WinMain, and it is not hit.
I believe I get this message after updating my computer with Windows Update
two or three days ago. I am not completely sure this is linked but I
strongly suspected it is.
What can I do? Tag: How to prevent file deletion on a memory card? Tag: 97016
Pass-through connection
Hello,
I want to know programmatically if the pocket pc device is connected to the
internet using ActiveSync Pass-through connection.
So does the device get an IP address other than its local address(127.0.0.1)
in this kind of connection?
Thank you. Tag: How to prevent file deletion on a memory card? Tag: 97014
MSXML load xml file method hang
Dear all:
I want to use Microsoft XMLParser ,the following is some code .
the problem is that when i call m_pXMLDoc->load( ...),my application will
hang ,and no information is given .
Can someone give me the reason ? What steps did I forget or mistake ?
OS Version: Windows Mobile 2003 second edition.
Device: Dopod 575 smartphone / PPC,smartphone Emulator
Thanks a lot in advance !
CComPtr<IXMLDOMDocument> m_pXMLDoc;
#include <objsafe.h>
#include <objbase.h>
#include <msxml2.h>
#include <atlbase.h>
bool CXMLConfigure::Load()
{
HRESULT _hr;
bool ret = true;
try
{
_hr = CoInitializeEx( NULL, COINIT_MULTITHREADED );
if (FAILED(_hr))
{
//ERROR
THROWIMEXCEPTION( 80041000 );
return false;
}
CComQIPtr<IObjectSafety,&IID_IObjectSafety> iSafety( m_pXMLDoc );
if ( iSafety )
{
DWORD dwSupported, dwEnabled;
iSafety->GetInterfaceSafetyOptions( IID_IXMLDOMDocument, &dwSupported,
&dwEnabled );
iSafety->SetInterfaceSafetyOptions( IID_IXMLDOMDocument, dwSupported,
0 );
}
_hr = m_pXMLDoc.CoCreateInstance( __uuidof( DOMDocument ) );
m_pXMLDoc->put_async( VARIANT_FALSE );
if (FAILED(_hr))
{
//ERROR
THROWIMEXCEPTION( 80041000 );
}
VARIANT_BOOL bSuccess=false;
HRESULT hr;
// Can load it from a url/filename...
hr = m_pXMLDoc->load( CComVariant ( L"simple.xml" ), &bSuccess ); //
application hang here ???
if( FAILED( hr ) )
{
THROWIMEXCEPTION( 80041001 );;
return false;
}
}catch(...) {
Unload();
ret = false;
}
return ret;
} Tag: How to prevent file deletion on a memory card? Tag: 97012
Network Connectivity (Needed urgently)
Hello,
I want to connect to a db server from my application, i dont want to
initiate the network connection of the device programmatically, i just want
to test programmatically if a network connection is present, if it is present
I continue, otherwise i ask the user to make a connection then continue.
How do i do it?
Thank you. Tag: How to prevent file deletion on a memory card? Tag: 97009
Ipaq cradles are NOT universal
I notice that ipaq Pocket PC's do not all take the same cradle. I got
an ipaq hx2755. The 2 cradles I have for the ipaq 3850 I have been
using for almost 4 years do not work with the hx2755. The connector is
the same, but the shape
of the base of the cradle keeps the connector from connecting to the
2755. Has anyone cut up one of these older cradles to make them work
with the newer Ipaqs? Tag: How to prevent file deletion on a memory card? Tag: 97008
MailStore Data Objects - where to purchase license ?
toddsoftware.com - Does anybody know if this company has gone out of
business ? I have not received a reply from them in the last 10 days.
http://toddsoftware.com/index.php?option=com_content&task=category§ionid=13&id=100&Itemid=74
Their evaluation component works well but I can not see from their site
how to purchase the component and can not get any e-mails answered.
Alternatively does anybody know of a similar CEMAPI wrapper COM
component that let's me create (send) an e-mail in the ActiveSync Outbox
from VBScript (not just .NetCF) on PPC 2003 above ? I have searched high
and low and the above copmonent is the only one that worked in that
environment.
Thanks in advance,
Leo Gaggl
Adelaide, South Australia Tag: How to prevent file deletion on a memory card? Tag: 97002
Play .wav File
I have a file "Windows\\Alert1.wav" on my Pocket PC 2003.
How can I play it using C#?
--
-- Thom Little -- www.tlanet.net -- Thom Little Associates, Ltd.
-- Tag: How to prevent file deletion on a memory card? Tag: 96995
GPF trapping
I am developing a Pocket PC application directly using Microsoft clarm.exe
compiler. Is there a way to trap GPFs so when they occur the application not
just simply exit without any GPF message ?
I have tried to use UnhandledExceptionFilter() but without success.
I really appreciate your help.
Lars Tag: How to prevent file deletion on a memory card? Tag: 96990
GPF trapping
I am developing a Pocket PC application directly using Microsoft clarm.exe
compiler. Is there a way to trap GPFs so when they occur the application not
just simply exit without any GPF message ?
I have tried to use UnhandledExceptionFilter() but without success.
I really appreciate your help.
Lars Tag: How to prevent file deletion on a memory card? Tag: 96989
Device Connection
Hello,
Please how can I test in my application if the device connection(GPRS or
WiFi or Wired) is active?
Thank you Tag: How to prevent file deletion on a memory card? Tag: 96987
HTMLControl, how to access it's HTML source?
Hello Everybody,
how can I access the HTML source code a HTML control is currently
displaying?
I just want to check the server's reply.
I can set the HTML code to be displayed by issuing a WM_SETTEXT
message, but WM_GETTEXT in a NM_DOCUMENTCOMPLETE notification doesn't
return the code it is currently displaying.
case NM_DOCUMENTCOMPLETE:
{
TCHAR szBuffer[1000];
SendMessage(hwnd, WM_GETTEXT, (WPARAM)1000, (LPARAM)szBuffer);
break;
}
szBuffer is never set.
Maybe I'm missing the obvious here....
Thanks Tag: How to prevent file deletion on a memory card? Tag: 96986
Scroll bar in datagrid
Hello,
I am displaying one row in a datagrid, and i made its height larger than the
datagrid height because it contains long descriptions, so a vertical scroll
bar appears but with no cursor on it to let me move down the grid.
How can i have access to the datagrid scrollbar?
or what else can i do?
Thank you. Tag: How to prevent file deletion on a memory card? Tag: 96984
custom today
is it possible to overtake Today functionality of Pocket PC and have your
own developed one running.
is there sample code for Today settings app.
Thanks in advance, Andrew Tag: How to prevent file deletion on a memory card? Tag: 96980
catch mouse in CHTMLView based app
Hi,
Imagine I have a CHTMLView application, load a HTML file (resource file),
and when something is clicked, I wish to catch this click and call a
function inside my executable. In other words:
Page:
<html>
<head>Demo</head>
<body>
<a href="#">Click here!</a>
</body>
</html>
Code:
CMyHTMLView::OnClickHere()
{
MessageBox("Hello World!");
}
And if I put HTML file as well as images in my executable as a resource, how
do I reference these images in my HTML file?
Lisa Tag: How to prevent file deletion on a memory card? Tag: 96978
problem ending fullscreen
<sorry for double post - it went into the wrong thread on my
newsreader>
Hi,
i devlop games, thus I need fullscreen without anything else. It works
fine sometimes, but some other times when I quit the game, going
non-fullscreen (half screen?), the menu-bar does not get repaint and I
can't click it. (Start menü is dead)
Please help:
void DoFullScreen(bool show)
{
// get the 3 windows and remember them
static void* hWndSipButton = (void*)FindWindow( TEXT ("MS_SIPBUTTON"),
NULL );
static void* hWndTaskbar = (void*)FindWindow( TEXT ("HHTaskBar"),
NULL );
static void* hWndInputPanel = (void*)FindWindow( TEXT("SipWndClass"),
NULL );
/* loadlib, getprocaddress, yaddayadda*/
if (show) // do fullscreen
{
if(hWndInputPanel )
ShowWindow( (HWND)hWndInputPanel, SW_HIDE );
if(hWndSipButton )
ShowWindow( (HWND)hWndSipButton, SW_HIDE );
if(hWndTaskbar )
ShowWindow( (HWND)hWndTaskbar, SW_HIDE );
SHFullScreen(Screen.Window, SHFS_HIDETASKBAR
| SHFS_HIDESIPBUTTON
| SHFS_HIDESTARTICON);
SetWindowPos(Screen.Window, HWND_TOPMOST,
0, 0,
GetSystemMetrics(SM_CXSCREEN),
GetSystemMetrics(SM_CYSCREEN),
SWP_SHOWWINDOW);
BringWindowToTop(Screen.Window);
}
else
{
if(hWndInputPanel )
{
ShowWindow( (HWND)hWndInputPanel, SW_SHOW );
UpdateWindow((HWND)hWndInputPanel);
}
if(hWndSipButton )
{
ShowWindow( (HWND)hWndSipButton, SW_SHOW );
UpdateWindow((HWND)hWndSipButton);
}
if(hWndTaskbar )
{
ShowWindow( (HWND)hWndTaskbar, SW_SHOW );
UpdateWindow((HWND)hWndTaskbar);
}
SHFullScreen(Screen.Window, SHFS_SHOWTASKBAR
| SHFS_SHOWSIPBUTTON
| SHFS_SHOWSTARTICON);
}
/* Free lib... */
}
--
-Gernot
int main(int argc, char** argv) {printf
("%silto%c%cf%cgl%ssic%ccom%c", "ma", 58, 'g', 64, "ba", 46, 10);} Tag: How to prevent file deletion on a memory card? Tag: 96972
how delete mail account
hi, all
I want to delete some mail account programtically.
if I know the mail account GUID I can delete mail account by method
DMProcessConfigXML
however, who create the mail account I can not know.
it means that I can delete by DMProcessConfigXML.
I want to use mail session and search the msgstore.
if the msgstore name match my condition, I delete the msgstore
to fulfill my function.
But I do know how to do it?
Is there any other way to delete mail account?
any suggestion would be appreciated Tag: How to prevent file deletion on a memory card? Tag: 96968
How to Delete a Mail Account programatically
hi, all
I have a email issue.
If I want to delete a mail acccount by GUID,
I do not know the GUID So I can not delete by method DMProcessConfigXML.
So I want by mail session. get msgstore enum,
but I do not knwo how to delete it?
Is there any Other way to delete Mail Account?
Thanks Tag: How to prevent file deletion on a memory card? Tag: 96967
SD Card serial number
Is there a way to get the serial number of SD/CF card that is currently
inserted into the Pocket PC?
I've found it with the desktop using IOCTL_STORAGE_GET_MEDIA_SERIAL_NUMBER.
But I can't find this in the Pocket PC docs.
thanks in advance,
ed Tag: How to prevent file deletion on a memory card? Tag: 96966
Shutdown, Uninstall and Remove Application from ROM
I am developing an applicaiton that must shutdown another application,
uninstall it and remove it from ROM on the pocket pc, so that I can
reinstall a newer version automagically. I am able to close the form, kill
the process and know how to run the uninstall... however since the
executable is still in the ROM after the first time it was run the uninstall
fails and the install will not overwrite the old executable with the new
one... anyhelp on this would be great...
Regards... Tag: How to prevent file deletion on a memory card? Tag: 96961
Ras Autodial
I have an application where I would like to have a connect
automatically redial when the connection is dropped. I have noticed
on embedded CE that the Internet Options/Connection in the control
panel has an option for an Autodial name. I have looked in the
documentation and can see that there is this Ras Autodial thing that I
can put in the registry. Now I assume that this will cause a dial to
occur when the user opens an internet connection.
Does anyone know if the Connection Manager in Pocket PC supports this?
I think I can set it up so that it dials a connection when a browser
page is open. Is this the Autodial functionality?
Also they mention something about Autodial-compatible dialers. Does
this mean that I might have to write my own dialer?
Thanks.
Gene Chang Tag: How to prevent file deletion on a memory card? Tag: 96956
.dsp to .vcp
Hi -
I have a large VC6 based project - .dsw with 50 .dsp projects. When I
try to open .dsp from VC6 in eVC4, I get the message:
"was generated for Windows desktop development. It can not be used for
Windows CE development." Is anyone aware of a conversion utility for
this?
eVC4 help says:
"To convert a .dsw or .dsp file for use in eMbedded Visual C++, use the
Open command on the File menu to open the file. Choose the file name,
and eMbedded Visual C++ automatically converts the file."
This didn't work for me. Anyone has any experience with conversion?
Thanks. Tag: How to prevent file deletion on a memory card? Tag: 96955
Get free disk space on PPC
Hi,
I simply need to find the amount of free space avalible on a stoarge card.
Can I use "GetDiskFreeSpaceEx"? From my research it looks like this function
might not be support on all devices. I also know I can get the free space
from a call to CeCreateFile and passing in the name of the volume, but MSDN
says that this only works on CE 4.2 and older devices.
So my question is, if I want to find free space on any PPC or smartphone
which is the better function to use?
Thanks,
Matt L Tag: How to prevent file deletion on a memory card? Tag: 96952
Problems with timer on child window
I've a window that start a timer and works ok while not starting a child
window. Then as the main loses the screen focus also loses the "timer
focus".
I think it is not a message problem because I can still receive mouse
messages on the main window, but not sure.
I'm starting on PPC programing and may be a missunderstanding of the
manuals and msdn, but I cannot find a solution.
Any help?.
Thanks
beemer Tag: How to prevent file deletion on a memory card? Tag: 96947
Can I get the CoreDll.dll on my PC?
I have a program that runs on an Desktop PC that is attempting to get the ID
of the connected Pocket PC. The code that I have requires an import of the
CoreDll.dll, but this library does not exist on my Desktop PC. What do I
need to do to get this library on my Desktop PC?
Thank you Tag: How to prevent file deletion on a memory card? Tag: 96944
Is there a cmd.exe (or similar) in CF??
Hi,
I think I need a batch file to handle this problem but PPC2003 does not
understand what a .bat file is.
I need to reload 6 application cab files if the PDA does a cold boot. The
devices are Symbol 8860 and they have a section of non-volatile memory in
which I save my cab files. I can automatically recreate my files after a cold
reboot and I can execute them from the \Application\Startup directory in the
Symbol but they all run at once and they need to be run in specific order. I
was going to put them in a batch file so they would run in the correct
sequence.
Is there any inbuilt scripting facility in PPC2003 that will do the job? Tag: How to prevent file deletion on a memory card? Tag: 96939
To Microsoft: Serious behaviour of PPC 2003 SE password system
Hello,
this post is addressed to microsoft mobile system developers.
I have written a password application using the
system's "redirect" mechanism to link it into the
system, as described on the microsoft pages.
There is a strange behaviour, when many resource
comsuming applications are running
(e.g. Agenda Fusion and Pocket Informant together).
When the device is turned on, then the system's
password screen is starting instead of mine.
Even a "test password cpl" with just a messagebox
coming up is not starting. The systems seems to have
so much "load" that my application start is re-"redirected".
I have also tried "password applications" of other developers
which face the same problem.
Only a soft-reset will get the 3rd party password application
back to work.
This is not a memory problem, as my test device has plenty
of MBs free.
Is this a system bug ?
Kind Regards,
Robert Tag: How to prevent file deletion on a memory card? Tag: 96938
BioAPI
Hello,
I'm thinking of buying a HP IPAQ hx2750. I'm interested in developing using
its fingerpint reader. I know that older devices such as h5450 implemented
the Biometric API (BioAPI) but I don't know if the hx2750 does. I've already
send my question to HP, who told me to ask Microsoft because hx2750 uses
Windows Mobile 2003. I can't find any information in MSDN so I hope someone
has a clue here.
I also hope my post is suitable here.
Thanks
Rafa Llarena Tag: How to prevent file deletion on a memory card? Tag: 96937
install "rotate screen" feature
hi,
my acer n35 does not have the "rotate screen" feature. It has PocketPC
4.20.0.
Is there any way to install this feature?
Because the usb cable is at the bottom of the device, and it's so
stupid, so I have to rotate the device by 180° on my smal desktop. No
cradle available for it... really stupid.
--
-Gernot
int main(int argc, char** argv) {printf
("%silto%c%cf%cgl%ssic%ccom%c", "ma", 58, 'g', 64, "ba", 46, 10);} Tag: How to prevent file deletion on a memory card? Tag: 96936
Getting some problems in VisualC# programmin Need help
Sir,
I have got certain part of code whichi i have changed to visual c# from
c++.but it is giving me some problems.i am not able to undersatnd how to
solve it.
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
ImageList *createILNode(char* filename)
{
ImageList *node=new ImageList();
node->imageIndex = 0;
node->next_replicate=null ;
node->next_subject =null;
return node;
}
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
public struct ImageList
{
unsafe public char[] filename;
public int imageIndex;
unsafe public ImageList *next_replicate;
unsafe public ImageList *next_subject;
};
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
These lines are giving me problem
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
ImageList subject ;
subject = header = createILNode(token);
subject.next_subject= createILNode(token);
subject = subject.next_subject;
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
the problem i am facing is that the assignment in above part of code is
not working.
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
1. Cannot Take the address or the size of the variable of managed type
('structure_test.ImageList').
Hope you can provide me some soln to this problem.and please tellme were can
i put my queries rearding C# and visual c# for help and support.
Regards
Naveen Tag: How to prevent file deletion on a memory card? Tag: 96932
How to use directDraw in PocketPC
I write a program in EVC4.0+SP4 with DirectDraw. but when compiling, the
system tell me "unresolved external symbol DirectDrawCreate".
Does anyone know the reason? thanks Tag: How to prevent file deletion on a memory card? Tag: 96926
How to configure Pocket Outlook for full messages?
I'm configuring Pocket Outlook with the Configuration Service Provider
EMAIL2. The following, from the documentation, works:
<wap-provisioningdoc>
<characteristic type="EMAIL2">
<characteristic type="{D671C70B-8EE3-4881-8045-2AEE6F731B55}">
<parm name="SERVICENAME" value="NewPOP"/>
<parm name="SERVICETYPE" value="POP3"/>
<parm name="INSERVER" value="pop"/>
<parm name="OUTSERVER" value="smtp"/>
<parm name="AUTHNAME" value="myuser"/>
<parm name="AUTHSECRET" value="passwordl"/>
<parm name="DOMAIN" value="llan.ll.mit.edu"/>
<parm name="REPLYADDR" value="user@domain.com"/>
<parm name="AUTHREQUIRED" value="0"/>
<parm name="LINGER" value="5"/>
<parm name="NAME" value="Joe User"/>
</characteristic>
</characteristic>
</wap-provisioningdoc>
I would like to be able to have that configuration download full messages
instead of just the headers.
I've tried adding <parm name="RETRIEVE" value="4294967295"> and <parm
name="DWNDAY" value="4294967295"> because I saw those when I queried the
Provider after manually changing it.
It does not make a difference. I think there is something else that needs
to change. Can this be done? Thanks in advance for any suggestions.... Tag: How to prevent file deletion on a memory card? Tag: 96922
Serialized io
Hi
I am using evc4.0 for building an app; not using .NET Compactframework.
Is there anyway I can do serialized read/write to a file? I dont know of any
serialization apis other than the serialization support in .NET. In that
context, is it possible to invoke .NET function calls(..aka managed apis)
from my application? If so, please help me with some pointers.
Thanks Tag: How to prevent file deletion on a memory card? Tag: 96921
Context Menu on All Files?
I'm working on an IContextMenu interface for archiving data. I've found
plenty of info on assigning the IContextMenu interface to specific file types
that Windows CE already recognizes, but how can add this interface to any
file type regardless of whether or not Windows CE knows about the type?
thanks in advance,
ed Tag: How to prevent file deletion on a memory card? Tag: 96920
About some questions on PocketPC (CPU Usage,...)
I have some question want to ask (All work on PDA):
Q1.
Have any method to obtain memory size of each process? Because the
GetProcessMemoryInfo doesn't support EVC(eMbedded Visual C++) 4.0.
If have any methods, please tell me how to do it. thanks.
Q2.
How to get CPU Usage of PDA using eVC++ 4.0? I can't find any sample or
discussion on MDSN, can we do it? and have any sample code using c++(in more
complete).thanks for your help.
Q3.
How can we "terminate a module"?? We can use TerminateProcess API to
terminate a Process,but I can't find any API to terminate modules. How can we
do?
There are a lot of questions, but I can't find any solution in last serval
months.
Please help me. Thanks for your help. Tag: How to prevent file deletion on a memory card? Tag: 96912
Hi all,
I would like to know if it is possible to prevent a user to remove files
from a memory card (without write-locking it)?
Re: How to prevent file deletion on a memory card? by TJ
TJ
Mon Jun 20 16:09:04 CDT 2005
The only way is to keep a process running in memory that opens the file.
Make sure the share mode is FILE_SHARE_READ | FILE_SHARE_WRITE.
djarjar wrote:
> Hi all,
>
> I would like to know if it is possible to prevent a user to remove files
> from a memory card (without write-locking it)?
>
> Thanks a lot.
Re: How to prevent file deletion on a memory card? by djarjar
djarjar
Tue Jun 21 01:13:01 CDT 2005
Thanks a lot TJ.
"TJ" wrote:
> The only way is to keep a process running in memory that opens the file.
> Make sure the share mode is FILE_SHARE_READ | FILE_SHARE_WRITE.
>
> djarjar wrote:
> > Hi all,
> >
> > I would like to know if it is possible to prevent a user to remove files
> > from a memory card (without write-locking it)?
> >
> > Thanks a lot.
>