application icon
Hi
i am new to pocketpc development.
I set the application icon. but its not showing on pocket pc and also
emulator. any one please give me idea.
thanks
bala Tag: run on background Tag: 97125
Does Anton Tomovs PocketPC Mark check RAM memory?
This group seem to me to have high competence about PPC and if I can
get an inch of your knowledge I'd be very appreciative!
My problem is that I've bought an ASUS MyPal A730 that does mostly OK
when nothing extra is installed. If I install Webis Pocketinformant
5.6.1 or HCLSofts 260 000 word heritage dictionary my ppc will not
start when switching it on (after I have had it switched off) and I am
forced to soft reset it. I use my PPC a lot and this only happens once
a day. I have no certain way to reproduce this fault which always
happens randomly. I emailed Webis about this problem and they
responded that my PPC might have defective RAM.
If I send in my PPC for warranty with this complaint I'm afraid they
will just send me the same ppc back again without doing anything.
Is there a software or any other way I can test my hardware and all
bits of my RAM really are OK?
This would also help if I would decide to use my warranty too.
The only software to check for bad RAM memory in the pocketpc I can
think of would be Anton Tomovs PocketPC Mark that has memory and file
system Bench marking (my hope is that this program somehow indirectly
will check all memory and give an error if defective RAM is found).
However these tests are not available in trial version so I don't know
if this program would confirm any errors in main memory.
Does anyone know if Anton Tomovs PPC Mark software would help out in
this case?
Is there is any other way I could test the main memory thoroghly which
would prove if my A730 main memory has bad RAM or not?
Any help deeply appreciated! Tag: run on background Tag: 97123
How to query available bluetooth devices in the room
Hi all,
I am interested to write an application (on Pocket PC) which should be able
to query availalbe bluetooth devices in my room (for example my Nokia 6270
mobile :)). Could you please what APIs should I use for this?
Thanks,
Arsalan Tag: run on background Tag: 97122
SHA1CryptoServiceProvider
Hi,
I am trying to use SHA1CryptoServiceProvider to encrypt strings. It can
encrypt everything in the string except the "{" char. Does anybody from
Microsoft let me know why its bombing on seeing this char ? What would be an
alternative ?
Thanks! Tag: run on background Tag: 97121
_wfinddata_t Windows CE
Hello,
i try to convert an VC++ to embedded C++ and I run into some troubles. Do
anyone know how to work with the _wfinddata_t in Windows CE? I try everthing
Microsoft obtain on their website but I get allways an uncleared identifier
while compliling.
Ingo Tag: run on background Tag: 97120
Unable to load DLL (CoreDll.dll).
Specs:
WinXp
VS.NET 2003
I have a Windows application being run from a Desktop that I want to
use to get the Device ID and Name of the connected Pocket PC.
I got code from here:
http://msdn2.microsoft.com/library/ms172516(en-us,vs.80).aspx
I did not modify any of this code and the program is returning the
message: Unable to load DLL (CoreDll.dll).
What else do I need to get the Device ID and Device Name??
Thank you,
Anthony Tag: run on background Tag: 97116
getting the text of an edit control (edit box)
Hello,
the following code is taken from thecodeproject.com but it just gets the
first letter instead of the whole text. Maybe someone can tell me why.
Thanks
Matthias
_____________
CHAR *m_strURL="";
// handle for h_editURL is set in code before (HWND h_editURL)
SendMessage(h_editURL, WM_GETTEXT, 256, (LPARAM) m_strURL); Tag: run on background Tag: 97115
Uninstalling fonts included in CABWIZ CAB
I have our app installing with a CAB. I have come accross a problem with
uninstalling fonts.
We copy the fonts into the \Windows\Fonts folder during install. When we
want to uninstall, the uninstaller complains about the 2 fonts still being
in use or are read-only. I have checked and they are not read-only.
Anybody have a solution for this problem as the rest of the program doesnt
uninstall.
Thanks
Rob Tag: run on background Tag: 97114
Unable to load DLL (CoreDll.dll).
Specs:
WinXp
VS.NET 2003
I have a Windows application being run from a Desktop that I want to use to
get the Device ID and Name of the connected Pocket PC.
I got code from here:
http://msdn2.microsoft.com/library/ms172516(en-us,vs.80).aspx
I did not modify any of this code and the program is returning the message:
Unable to load DLL (CoreDll.dll).
What else do I need to get the Device ID and Device Name??
Thank you,
Anthony Tag: run on background Tag: 97113
Understanding versions...
I am going to have to begin developing on the Pocket PC... I'm a little
confused about the versions... currently, I have an older HP 5450 that I
believe has Pocket PC 2003 on it... sound right? Is this the most recent
version?--- Is the next version (2005) is yet to come out? Will this be
timed to launch with Whidbey?
Thanks,
Michael Tag: run on background Tag: 97112
How to accept or reject incoming calls programatically - reg
Hi,
I am working on pocket pc 2003 projects using Visual Studio .Net 2003 using
C#.
How to handle incoming calls programatically? i.e progrom itself should
handle this one, not manually. Please help me out regarding the same as early
as possible.
Best regards,
Pradeep Tag: run on background Tag: 97111
how get pocket pc 2003 device id or serial no?
In pocket pc 2002,we can use core.dll to get it.(see
http://www.pocketpcdn.com/articles/serial_number2002.html)
But in pocket pc 2003 no this dll.How to implement it?? Tag: run on background Tag: 97103
help!
i want to implement the scroll bar in mfc dialogs.
i tried the following wih out success.
Right Click on the dialog in the resource editor, click "properties"
then select the "Styles" tab, then tick the "vertical scroll" option
in my application i can see the scroll bar visible and doesnt work when i
try to scroll down.
whats the solution?
--
--
Thanks,
Arvind Tag: run on background Tag: 97100
How to make a cabfile to setup gprs
I want to create a cabfile to set GRPS settings.
The _setup.xml is as follows:
<wap-provisioningdoc>
<characteristic type="CM_GPRSEntries">
<characteristic type="GPRS1">
<parm name="DestId"
value="{436EF144-B4FB-4863-A041-8F905A62C572}" />
<characteristic type="DevSpecificCellular">
<parm name="BearerInfoValid" value="1" />
<parm name="GPRSInfoValid" value="1" />
<parm name="GPRSInfoProtocolType" value="2" />
<parm name="GPRSInfoL2ProtocolType"
value="PPP" />
<parm name="GPRSInfoAccessPointName"
value="internet3.thephone-company.com" />
<parm name="GPRSInfoAddress"
value="" />
<parm name="GPRSInfoDataCompression"
value="1" />
<parm name="GPRSInfoHeaderCompression"
value="1" />
<parm name="GPRSInfoParameters" value="" />
</characteristic>
</characteristic>
</characteristic>
</wap-provisioningdoc>Have tried both makecab and cabwiz to make the file,
but cant get it to install.
Can anyone help me! Please.
Erik Tag: run on background Tag: 97097
SetForegroundWindow doesn't activate hidden main form / "Default I
Hi all,
this problem has been discussed before, but without resolution, so I'll
bring up the topic again.
The situation is as follows:
1) I have an MFC application (eVC 4.0 SP3) for Pocket PC 2003 SE
2) When I launch my application the first time, a main frame is created and
shown.
3) I close the app with the close button ("X"), the main window
hides/minimizes.
4) Now, If I launch the application a second time, it doesn't get activated.
So, problem is, the application simply doesn't get activated from its
minimized state.
If I try to launch the application a third time, the title bar text turns to
"Default Ime", but still no main window.
MFC intercepts application activation in AfxWinMain, by means of a named
Mutex and an EnumWindows() run. If a running app instance is found, it is
activated with a call to SetForegroundWindow(), and the second instance bails
out again.
I have debugged through all this, and everything loooks plausible, but the
call to SetForegroundWindow() has no effect for me.
Remote Spy++ only showed messages up to (and including) item 3. The
application apparently didn't receive any messages after that. When closing
the main window, Spy++ showed this sequence of messages:
(Message / WPARAM / LPARAM)
0x0000036E (Unknown) 0 1E0BF3F8
0x00000006 (WM_ACTIVATE) 0 0
0x00000086 (WM_NCACTIVATE) 0 0
0x0000001F (WM_CANCELMODE) 0 0
0x00000005 (WM_SIZE) 1 010C00F0
0x00000047 (WM_WINDOWPOSCHANGED) 0 22121FE0
(no more messages here)
I have also investigated the situation with remote kernel tracker, which
shows behavior like this:
- the first app is launched, calls around a bit, and is put to sleep
- the second instance is launched, calls into shell32.exe, among other things
- the shell32 call calls back to the first instance (aha!), which then calls
into device.exe
- meanwhile, the second instance bails out
- the first instance lastly calls into NK.exe, and then doesn't do anything
more
I can reproduce this behaviour consistently on an iPAQ 4150 (2003 SE), and
Pocket Loox 720 (2003 SE, VGA). Interestingly, activating the application via
System / Settings / Memory / Running applications works.
Any help would be appreciated.
Karl
--
Karl Traunmüller, CEO
Intumi Software
www.intumi.com Tag: run on background Tag: 97092
Target Emulator
Hi,
Can anyone tell me where can I find a Windows CE emulator board with SDIO
interface? I'm developping applications for PocketPC2003 and there are
custom hardware and device driver involved. So I can't just use he software
emulator that comes with the CE development kit. I don't suppose you can
test and debug your application/device driver with a PocketPC purchased from
a retail store. I think an emulator board is more appropriate. Your help is
greatly appreciated.
Best regards,
George Tag: run on background Tag: 97089
Input Validation
Is there a method lurking about to validate input data in a text box to be
numeric or are you required on the PPC to loop through the string a
character at a time to perform the validation?
--
-- Thom Little -- www.tlanet.net -- Thom Little Associates, Ltd.
-- Tag: run on background Tag: 97087
audio input volume control on a QTEK 9090
Does anyone know how to control the mic volume on this device, out of the
build-in AGC?
Thanks,
François Léger Tag: run on background Tag: 97086
Is there software that checks PPC hardware?
This group seem to me to have high competence about PPC and if I can
get an inch of your knowledge I'd be very appreciative!
My problem is that I've bought an ASUS MyPal A730 that does mostly OK
when nothing extra is installed. If I install Webis Pocketinformant
5.6.1 or HCLSofts 260 000 word heritage dictionary my ppc will not
start when switching it on (after I have had it switched off) and I am
forced to hard reset it. I use my PPC a lot and this only happens once
a day. I have no certain way to reproduce this fault which always
happens randomly. I emailed Webis about this problem and they responded
this way:
START OF MAIL//Your PocketPC is probably defective if you have to hard
reset it. There are no known compatibility issues with PI and your
device (or any, really) and in fact it should be impossible for an
application to cause a device to have to be hard reset.
Sounds like bad RAM.//END OF MAIL
If I send in my PPC for warranty with this complaint I'm afraid they
will just send me the same ppc back again without doing anything.
Is there a software or any other way I can test my hardware and all
bits of my RAM really are OK?
This would also help if I would decide to use my warranty too.
an interesting feature that is always present even without any 3rd part
software is that about once a week the screen suddenly stops sensing my
taps, but the hardware buttons work. This happens only once a week and
its solved by a fast switch off and on again.
There are other smaller things that are hard to explain that that makes
me feel something is not 100% right with my ASUS mypal, especially if I
compare to my old Compaq Ipaq
Any help deeply appreciated! Tag: run on background Tag: 97085
VGA screen dialogs display at low res
I'm developing on an IPAQ 4700 which has 480x640 screen format.
If I create a window using the standard CreateWindow or resize a window, it
gives the impression of being 240x320.
For example a window of size 256x135 will take up the entire screen width.
Is there some special API necessary for displaying at the native
resolution?
Developing against eVC++ SP4 with WM2003SE headers and libraries.
Thanks
James Tag: run on background Tag: 97077
QVGA Emulation Layer Problems w/ EVC4 Debugger
I am porting a PPC 2003 application to the SE. The application runs OK in VGA
mode and I am able to use the EVC4 debugger as expected. However, when
running the application via the debugger in QVGA emulation mode, the
application hangs during a display update and I am unable to stop at
breakpoints to explore the problem. This application uses 2 threads to draw
the screen updates, one for menus and dialogs, a second for animation. Are
there known multi-threading issues or limitations with the emulation layer
and the debugger that could be the source of this problem? All suggestions
greatly appreciated. Thnx. Tag: run on background Tag: 97068
link a dll file in eVC++
hi, all
I want to link a dll file to my evc project?
how to do it?
and how to call the method on DLL file?
Thanks Tag: run on background Tag: 97067
How to prevent file deletion on a memory card?
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. Tag: run on background Tag: 97066
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: run on background 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: run on background 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: run on background Tag: 97059
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: run on background Tag: 97049
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: run on background 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: run on background Tag: 97041
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: run on background 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: run on background 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: run on background 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: run on background 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: run on background 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: run on background 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: run on background 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: run on background 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: run on background 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: run on background 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: run on background 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: run on background 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: run on background 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: run on background 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: run on background 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: run on background Tag: 96984
hi, sir
I want to create a project run on back ground
kind of sevice. or like linstener.
Can I do this on PocketPC?
Can I develop it with evc4.0?
"jeff" <jeff@discussions.microsoft.com> wrote in message
news:AA8F4157-1C9B-4A40-8184-8809701F2C59@microsoft.com...
> hi, sir
>
> I want to create a project run on back ground
> kind of sevice. or like linstener.
>
> Can I do this on PocketPC?
> Can I develop it with evc4.0?
>
> Thanks