Read Only Files
Hi at all...
i'm a new user of this site....and i would study the windows mobile 6
operating system..But...for this reasons i've a necessary to understand how
can i edit the read-only file in the /windows directory, for example shell32
or device.exe??
Thanks an advance and sorry for my english!! :-) Tag: BuildScript question Tag: 128856
Installation with DPI-Specific Resources
Hi!
I'm developing an application which I want to be DPI aware. So, I have 2
DLL files with DPI specific resources (for 96 and 192 DPI). I followed
instructions on http://msdn.microsoft.com/en-us/library/ms838224.aspx
and I have 2 problems:
1) On my VGA device (PPC2003SE) and in the emulator with VGA image
(WM6), DPI returned by the following code sequence is always 96:
HDC hdcScreen = ::GetDC(NULL);
INT nSystemDPI = GetDeviceCaps(hdcScreen, LOGPIXELSX);
::ReleaseDC(NULL, hdcScreen);
How to detect the DPI in setup.dll used during the installation process?
2) On WM6 emulator, the following rows from the .inf file are not working:
[AddRegSection]
HKLM,Software\Microsoft\SetupDPI,%InstallDir%\Res_096.DLL,65537,0
HKLM,Software\Microsoft\SetupDPI,%InstallDir%\Res_192.DLL,65537,0
What I read from the registry is exactly %InstallDir%\Res_096.DLL,
meaning that the %InstallDir% is not substituted with the installation path.
On PPC2003 device and emulator this works ok.
Thank you for your answers,
--
David Andrs Tag: BuildScript question Tag: 128855
Front camera access problem in DirectShow?
Hello,
My Samsung pda phone has got two cameras.
Using the sample code 'CECamera and 'Camera Capture' from windows mobile sdk, I'm able to access only the rear camera.
When I listed the devices on the phone using FindFirstDevice and looping through FindNextDevice, I could find only one 'CAM1' listed. This CAM1 is the rear camera.
I have to use the front camera.
Is there any way to access the front camera, please help me out here.
Sungtae Tag: BuildScript question Tag: 128850
Waking up a Pocket PC from a complete shutdown
I have a HP iPAQ which shut itself down if the battery temperature exceeds
certain level. Is there any way (Programmatic or manual) to start it up
again?
I have already tried setting up Alarm and CeAppRunAtTime API and they
doesn't seem to work as it is a complete shutdown.
Is there are any other alternatives? Tag: BuildScript question Tag: 128847
Accessing mobile device's file system
Microsoft,
I am a .NET developer working on an inventory management system for a
client. They use various Windows Mobile 5 barcode scanners, which I am
developing on. I am currently storing the SQL CE database in the My
Documents folder.
How am I able to access this database (or any other file) directly from a
Windows Forms program? Right now I am relying on ActiveSync but would like
to accomplish this directly to eliminate the sync issues I am having.
The mobile device's name is "Unitech Scanner". I have tried:
"/Unitech Scanner/My Documents/MobileInvManagement.sdf"
"/My Documents/MobileInvManagement.sdf"
"/Computer/Unitech Scanner/My Documents/MobileInvManagement.sdf"
"/Mobile Device/My Documents/MobileInvManagement.sdf"
I am on Vista using .NET 3.5 and Visual Studio 2008.
Regards,
Adam Tag: BuildScript question Tag: 128844
Creating, debuging CSP files for provisioning and wireless
Hello,
I am trying to create a setup process for 150 HP iPAQ 214s.
I have created several CAB files (MakeCab .\_setup.xml .\wireless.cab) that
are
based on lots of the fragment examples in the MSDN.
However when applied to the device via SD Card, they ask for authorization
then install successfully but do not make any changes, even after a soft
reset.
Below is my xml for setting the Clock:
<wap-provisioningdoc>
<characteristic type="clock">
<parm name="AlarmOn" value="0"/>
<parm name="Date" value="2008-07-18"/>
<parm name="Time" value="15:30:00Z"/>
<parm name="" value=""/>
<parm name="TimeZone" value="85"/>
</characteristic>
</wap-provisioningdoc>
As stated in installs correctly on to a clean booted iPAQ but it does not
change any settings.
Below is one for wireless, this fails to install.
<wap-provisioningdoc>
<characteristic type="Wi-Fi">
<characteristic type="access-point">
<characteristic type="NETWORK-SSID"/>
<parm name="Authentication" value="4"/>
<parm name="DestId"
value="{A1182988-0D73-439e-87AD-2A5B369F808B}"/>
<parm name="KeyProvided" value="false"/>"
<parm name="NetworkKey" value="NETWORK-KEY"/>
<parm name="Encryption" value="4"/>
</characteristic>
</characteristic>
</characteristic>
</wap-provisioningdoc>
Why does it not have any effect?
Why does it not install?
Why are there no full examples, only fragments, e.g. to just set the
timezone or an alarm?
Is there something like the Scripting Guys for CSP? I know MDM 2008 is out
but these devices when we get them will be brand new with WM6 and not WM6.1.
Thank you in adcance for any help. Tag: BuildScript question Tag: 128842
hdmi kabel was dvi kabel single link am2 hdmi dvi kabel 18 7600gs hdmi
hdmi kabel was dvi kabel single link am2 hdmi dvi kabel 18 7600gs hdmi
+
+
+
+++ BILLIGE HDMI KABEL KAUFEN +++ BILLIGE DVI KABEL KAUFEN +++
+
+
http://HDMI-KABEL.BUYONLINE24.INFO
http://HDMI-KABEL.BUYONLINE24.INFO
http://HDMI-KABEL.BUYONLINE24.INFO
http://HDMI-KABEL.BUYONLINE24.INFO
http://HDMI-KABEL.BUYONLINE24.INFO
http://HDMI-KABEL.BUYONLINE24.INFO
http://HDMI-KABEL.BUYONLINE24.INFO
http://HDMI-KABEL.BUYONLINE24.INFO
+
+
+
http://ibm-news.for-um.de/showthread.php?t=14812
http://ibm-news.for-um.de/showthread.php?t=14881
http://groups.google.de/group/supply-kind-of-hdmi-cable/web/billige-hdmi-kabel
http://ibm-news.for-um.de/showthread.php?t=14930
http://ibm-news.for-um.de/showthread.php?t=14920
########################################################
http://www.gossamer-threads.com/lists/python/python/648985
dvi kabel verlaengerung
2 dvi kabel
hdmi kabel 19pol
hdmi video card
dvi i kabel
dvi kabel 20
pure link hdmi
grafikkarte agp hdmi
hdmi kabel 5
2 dvi kabel
dvi kabel wiki
hdmi kabel 15 meter
hdmi 1.3 b
hdmi 3
x1650 pro hdmi
hdmi kabel fuer x box
hdmi kabel 19pol
hdmi hdcp
dvi kabel fuer tft
dvi to hdmi
hdmi kabel media
hdmi port
k8 hdmi
d auf hdmi kabel
hdmi cable
hdmi kabel 7
hdmi kabel 15
hdmi kabel was
mini itx hdmi
ist ein dvi kabel
hdmi y kabel
hdmi kabel real
pureav hdmi kabel
tft monitor hdmi
hdmi kabel 7 5
premium hdmi kabel Tag: BuildScript question Tag: 128840
DeleteMenu
Hi, I have developed an pp for WM6 in C++. We build our menus dynamically
and so store the handles when we call CreatePopMenu so we can reuse them.
When i come to delete a menu item (including the submenus) should i call
Closehandle()
on the handles to the submenus we have stored away BEFORE calling
DeleteMenu or AFTER.
Reading the docs it says DeleteMenu destroys any submenus, does this mean it
closes the
handles? If not i need to know when to call CloseHandle? Tag: BuildScript question Tag: 128838
====> Secret SEX Couples M M S Clips <====
HAI..........
Guys this web site s very useful to
you...........
How This site
helps..........
how to earn money form
online......
In this site, you wil earn more than 10000/- Rs per month....
its true ....... just login this site and << EARN MONEY
>>
www.freeonlinedollers.blogspot.com
www.freedollers.blogspot.com
www.moviesgossips.blogspot.com Tag: BuildScript question Tag: 128837
=?KOI8-R?B?Lo0gjSCNII0gU0VDUkVUIFdFQiBDQU1TII0gjSCNII0=?=
HAI..........
Guys this web site s very useful to
you...........
How This site
helps..........
how to earn money form
online......
In this site, you wil earn more than 10000/- Rs per month....
its true ....... just login this site and << EARN MONEY
>>
www.freeonlinedollers.blogspot.com
www.freedollers.blogspot.com
www.moviesgossips.blogspot.com Tag: BuildScript question Tag: 128836
How can I create an Input panel with only 0 - 9, * and # character
Hello All,
I need to create a new Software input panel (SIP) which contains only 0 - 9,
* and # characters. Can anybody guide me how to proceed. Or if there is
already a sample with such kind, please do the needful.
Thanks in advance.
Prasad Tag: BuildScript question Tag: 128832
Problem deploying to WM6 device using VS 2008
Help! Please. I am trying to convert a PPC 2003 app to WM5 and WM6.
Well, actually I started from scratch and created a WM6 project with
one form and one button just to get started. In the PPC 2003 project,
I can deploy to a PPC 2003 iPaq with no problem. But with my WM6
project when I try to deploy to the device (a T-Mobile Dash running WM
6.0 Standard) I get this error:
Error 1 The device security configuration disallowed the connection.
Ensure that you have the appropriate certificates on your device for
development. Review your SDK documentation for proper security
settings for connecting to this device. Device Connectivity Component
The deploy list offers only one device, Windows Mobile 6 Professional
Device. I don't know what a Professional Device is or if that is
different from a WM 6 Standard device, but that was all that was
offered ohter than emulators. I can deploy to the emulator, by the
way.
I tried a couple things (Authenticode signing and Provisioning the
certificate to the device) but nothing so far has helped. This is my
first time trying to develop a WM6 app and without anyone to help, I
am floundering. The device is a T-Mobile Dash running WM 6
Standard. So any help would be appreciated. Tag: BuildScript question Tag: 128831
Loading kernel-mode driver by ISV
Is ISV allowed to load the kernel-mode driver, like the NDIS51 intermediate
driver, on the WM5 Pocket PC device?
--
Message posted via PocketPCJunkies.com
http://www.pocketpcjunkies.com/Uwe/Forums.aspx/pocketpc-prog/200807/1 Tag: BuildScript question Tag: 128830
Password caching
We use a product called "OWA for PDA" by Lee Derbyshire. If you haven't
tried it, i strongly recommend the product (particularly for Ex2k7 folks.)
The application is essentially an OMA replacement. It optimizes OWA for PDA
and mobile phone screens.
http://www.leederbyshire.com/
In any event, my problem is this: I've been using it for a while, until
recently when it started going directly to a page that says "you are not
authorized to use this page." and "you do not have permission to view this
directory or page using the credentials that you have suppled." It appears
that mobile IE is caching my old credentials somewhere. I say this because
i also have MINIMO and Opera Mini installed on my device, and they connect
no problem. That's also why i doubt this has anything to do with the
application itself. Even using IE on my desktop i can access the page
without issue. It's just IE mobile that's stuck.
I've tried deleting all the temporary internet files on the device, as well
as cookies etc. I've also deleted the bookmark and entered the address
manually.
The only thing i haven't tried is a hard reset, and i'm not going to do that
since it would wipe out my phone. Are there files on the phone i can
manually delete that may contain that information?
This is a Sprint (HTC) Touch; WinMobile 6.
Thanks. Tag: BuildScript question Tag: 128824
How to hide main menu strip
I work in VS2005, C# and write application for PPC. I would like to
sometimes hide main menu strip (Maim menu with ToolBar in it). I
managed to hide the main menu when there is no toolBar inside it
however I don=92t know how to hide it with toolBar. Does anybody have
idea haw to solve that problem.
Thank for any suggestions.
kzchris Tag: BuildScript question Tag: 128823
Exception when Running filter graph
Hi,
I am writing a custom SampleGrabber filter for windows mobile 6. I had
a couple of issues with the base classes, as I linked to strmbase.lib
in Windows Mobile 6 SDK and the DECLARE_IUNKNOWN macro doesn't work
for me, so I had to override the IUnknown interface:
STDMETHODIMP QueryInterface(REFIID riid, void **ppv) {
if ( IID_ISampleGrabber == riid ) {
*ppv = (ISampleGrabber*)this;
m_cRef++;
return S_OK;
}
else if ( riid == IID_IAMovieSetup )
{
*ppv = (ISampleGrabber*)this;
m_cRef++;
return S_OK;
}
else if ( riid == IID_IBaseFilter )
{
*ppv = (ISampleGrabber*)this;
m_cRef++;
return S_OK;
}
else if ( riid == IID_IMediaFilter )
{
*ppv = (ISampleGrabber*)this;
m_cRef++;
return S_OK;
}
else
{
return CTransformFilter::NonDelegatingQueryInterface(riid,ppv);
}
};
STDMETHODIMP_(ULONG) AddRef() {
m_cRef++;
return S_OK;
};
STDMETHODIMP_(ULONG) Release() {
m_cRef--;
return S_OK;
};
After that I was able to register the filter and build the graph, but
then I get an exception in the IMediaControl::Run method:
Data Abort: Thread=966762cc Proc=80096d60 'TimedCamera.exe'
AKY=00001001 PC=02f5bf38(quartz.dll+0x00012f38)
RA=001b6c98(TimedCamera.exe+0x001a6c98) BVA=1a000029 FSR=00000407
Unhandled exception at 0x02f5bf38 in TimedCamera.exe: 0xC0000005:
Zugriffsverletzung beim Lesen an Position 0x00000029.
Do you have any idea on what the issue might be. I am not sure if I
have correctly set up the build environment. I have now installed
Platform Builder 5.0 and will try to link to the strmbase.lib there.
Thanks,
Angel Tag: BuildScript question Tag: 128822
File handle changes
Hi,
I am working on samsung blackjack || on windows mobile 6. I have
patched CreateFile ,ReadFile ,WriteFile and GetFileInformationByHandle
file system calls. If i call CreateFile form some app and call
readfile subsequently on the handle obtained , it looks like the
handle value is changed somehow before it reaches ReadFile. So my
question is does anybody know how the file handles are mapped between
functions calls of CreateFile and the rest of the functions i listed
above(readfile,writefile...).
Thanks Tag: BuildScript question Tag: 128816
passing a value to a new form
Hi all,
Can someone tell me waht is the best way to pass a value
to a new form? That is, for instance if I get a value, and ONLY that
value is the one that must be used to query a table containing that value
as the unique foreign key. The values in the new table must be displayed
in that new form.
Thanks!
Carlos. Tag: BuildScript question Tag: 128810
Sync contacts
Hi!
I am writing a desktop application, which should be capable of syncing
contacts/tasks/todos.
so far everything is ok: I can map the fields and read the contacts.
does anybody know, how to best determin if two contacts are the same?
and second: how to detect if changes between contacts have to be synced
from desktop to ppc or vice versa? (the interesting thing is how to get
the last change date/time for a pocket outlook item)
thanks for your help!
Achim Tag: BuildScript question Tag: 128803
How to create Image button with MFC
I need a example showing how to create a Image-Button with MFC on windows
mobile. thanks Tag: BuildScript question Tag: 128802
Having both Internet and VPN connection active
In my Pocket PC I have a VPN setup and I connect to internet using a 3G SIM
Card (HSDPA).
The problem is when VPN is connected, if I access a internet page VPN
automatically disconnects.
Is there a way to keep the VPN connection active all the time? Or Is there
way to automatically reconnect the VPN if it gets disconnected? Tag: BuildScript question Tag: 128800
running program on device.
I'm very new to use smart device development using C#, so I just want
to check if I do it correct way. I just finish my simple hello world
on C#, so for me to actually run the hello world on the device itself
I basically have to copy the .exe and paste onto the device then
execute that .exe file, is that correct? So is this can be intepreted
the same way as when we use EVC 4.0 to write program and run directly
on the device? Tag: BuildScript question Tag: 128799
Sending a XML string from C# app in PPC
HI,
I am sending a simple xml string ( u can see it in the code) to a PHP
script on a server from a C# app. However its not receiving it all .
PHP script dumps everything I send to it back to me. When I send the
data thru a HTML form with the same string I get the correct output.
for instance
string is : <order><product>mens polo</product><price>4.89</
price><size>large</size></order>
HTML output I get: 1Array ( [hiddenbx] => mens polo4.89large )
My app gets 1Array(\n\n\n)
1 is for receiving some data.
Most likely I am not sending the data in the right form. Any help
will be really appreciated.
Thanks
SS
Here's my code
// Create a request using a URL that can receive a post.
WebRequest request = WebRequest.Create("A php url") as
HttpWebRequest;
// Set the Method property of the request to POST.
request.Method = "POST";
// Create POST data and convert it to a byte array.
string postData = "<order><product>mens polo</
product><price>4.89</price><size>large</size></order>";
byte[] byteArray = Encoding.UTF8.GetBytes(postData);
// Set the ContentType property of the WebRequest.
request.ContentType = "text/xml";
// Set the ContentLength property of the WebRequest.
request.ContentLength = byteArray.Length;
// Get the request stream.
Stream dataStream = null;
try
{
dataStream = request.GetRequestStream();
}
catch (WebException we)
{
MessageBox.Show(we.ToString(), "Request error");
strStatus = "Request Error";
return bSuccess;
}
// Write the data to the request stream.
dataStream.Write(byteArray, 0, byteArray.Length);
// Close the Stream object.
dataStream.Close();
// Get the response.
WebResponse response = null;
try
{
response = request.GetResponse()as HttpWebResponse;
}
catch (System.Exception we)
{
MessageBox.Show(we.ToString(), "Response error");
strStatus = "Response Error";
return bSuccess;
}
// Display the status.
strStatus = ((HttpWebResponse)response).StatusDescription;
// Get the stream containing content returned by the
server.
dataStream = response.GetResponseStream();
// Open the stream using a StreamReader for easy access.
StreamReader reader = new StreamReader(dataStream);
// Read the content.
string responseFromServer = reader.ReadToEnd();
// Display the content.
MessageBox.Show(responseFromServer);
bSuccess = true;
// Clean up the streams.
reader.Close();
dataStream.Close();
response.Close(); Tag: BuildScript question Tag: 128794
Sending a XML string from C# app in PPC
HI,
I am sending a simple xml string ( u can see it in the code) to a PHP
script on a server from a C# app. However its not receiving it all .
PHP script dumps everything I send to it back to me. When I send the
data thru a HTML form with the same string I get the correct output.
for instance
string is : <order><product>mens polo</product><price>4.89</
price><size>large</size></order>
HTML output I get: 1Array ( [hiddenbx] => mens polo4.89large )
My app gets 1Array(\n\n\n)
1 is for receiving some data.
Most likely I am not sending the data in the right form. Any help
will be really appreciated.
Thanks
SS
Here's my code
// Create a request using a URL that can receive a post.
WebRequest request = WebRequest.Create("http://ny4p.org/
survey08/ssave.php") as HttpWebRequest;
// Set the Method property of the request to POST.
request.Method = "POST";
// Create POST data and convert it to a byte array.
string postData = "<order><product>mens polo</
product><price>4.89</price><size>large</size></order>";
byte[] byteArray = Encoding.UTF8.GetBytes(postData);
// Set the ContentType property of the WebRequest.
request.ContentType = "text/xml";
// Set the ContentLength property of the WebRequest.
request.ContentLength = byteArray.Length;
// Get the request stream.
Stream dataStream = null;
try
{
dataStream = request.GetRequestStream();
}
catch (WebException we)
{
MessageBox.Show(we.ToString(), "Request error");
strStatus = "Request Error";
return bSuccess;
}
// Write the data to the request stream.
dataStream.Write(byteArray, 0, byteArray.Length);
// Close the Stream object.
dataStream.Close();
// Get the response.
WebResponse response = null;
try
{
response = request.GetResponse()as HttpWebResponse;
}
catch (System.Exception we)
{
MessageBox.Show(we.ToString(), "Response error");
strStatus = "Response Error";
return bSuccess;
}
// Display the status.
strStatus = ((HttpWebResponse)response).StatusDescription;
// Get the stream containing content returned by the
server.
dataStream = response.GetResponseStream();
// Open the stream using a StreamReader for easy access.
StreamReader reader = new StreamReader(dataStream);
// Read the content.
string responseFromServer = reader.ReadToEnd();
// Display the content.
MessageBox.Show(responseFromServer);
bSuccess = true;
// Clean up the streams.
reader.Close();
dataStream.Close();
response.Close(); Tag: BuildScript question Tag: 128793
OnInitMenuPopup problem
Hi, i'm developing an app for WM6 Prof using VS2005 C++ and MFC.
I have a dialog with a CCommandBar, i use
m_dlgCommandBar.InsertMenuBar(IDM_MAINMENU) to insert
a menu. Then in the OnInitMenuPopup handler of my dialog i want
to check if this menu that i inserted on the CommandBar is hit
if so i rebuild the menu, if its not ie its a sub menu i just return
so i have the following bit code
if (popupMenu->m_hMenu != m_dlgCommandBar.GetMenuBar())
return;
However the function keeps returning because the m_hMenu variable
does not seem to be equal to the m_dlgCommandBar.GetMenuBar()
when i press this menu.
What's going wrong? Tag: BuildScript question Tag: 128792
Load NDIS51 IM Driver on VerizonWireless XV6700 PDA at Boot Time
Hi,
In the VS2005/WM5SDKPPC IDE, I try to use the WM5SDKPPC privileged
SDKSamplePrivDeveloper certificate to load my NDIS51 IM driver (DLL) on the
VierzonWireless XV6700 PDA at its boot time. Last week I install SdkCerts.cab
on the XV6700 PDA. But I discovered that this certificate is not in the
XV6700 PDA certificate store.
I notice that the \Program Files\Microsoft Visual Studio 8\SmartDevices\SDK\
SDK\Tools folder has three SDKSamplePrivDeveloper certificate files in it as
below:
SDKSamplePrivDeveloper.cer
SDKSamplePrivDeveloper.pvk
SDKSamplePrivDeveloper.pfx
According to the "sign code" procedures mentioned in the
http://www.codeproject.com/KB/mobile/signcode.aspx web page, the cer and pvk
files are created by the makecert.exe tool; the pfx file is created by the
pvk2pfx.exe tool. These two tools are in the VS2005 package.
The required ten steps of using the the SDKSamplePrivDeveloper certificate
for loading our driver are:
1. Use the openssl.exe tool to find out the ash1 and base64 values of the
SDKSamplePrivDeveloper certificate. The openssl.exe tool is archived under \
tommyclee\0711085\cvs\identiprise\ThirdParty\openssl-0.9.8g\out32dll folder.
2. Create a _setup.xml file with the ash1 and based64 values of the
SDKSamplePrivDeveloper certificate.
3. Use the makecab.exe tool to create the SDKSamplePrivDeveloper.cab file.
The makecab.exe tool is archived under the \Program Files\Microsoft Visual
Studio 8\SmartDevices\SDK\SDKTools folder.
4. Hardware reset the XV6700 PDA.
5. Connect XV6700 PDA to the SecuredMobile network to make sure that its WiFi
adapter functions.
6. With the ActiveSync connection, install SDKSamplePrivDeveloper.cab on the
XV6700 PDA.
7. In the VS2005/WM5SDKPPC IDE, select SDKSamplePrivDeveloper.pfx as the
Project->Properties->Authenticaode Signing->->Certificate value of the
VS2005/WM5SDKPPC driver.
8. Rebuild driver and deploy it to the \Windows folder of the XV6700 PDA.
9. Use VS2005 Remote Registry Editor tool to create the [...\Comm\cttunim]
and [...\Drivers\BuiltIn] Registry settings. Those settings are:
10 . Reboot the XV6700.
The Registry settings are:
[.....Comm\cttunim]
group=ndis
imagepath=cttunim.dll
nodevicecreate=1
....
[.....Driver\BuiltIn\ctt]
prefix=CTT
dll=cttunim.dll
iclass={A32942B7-920C-486b-B0E6-92A702A99B35}
index=1
order=5
Doing this work, I did not experience any problems at all. For example, the
SDKSamplePrivDeveloper.cab installation completed with the
"SDKSamplePrivDeveloper.cab was successfully installed on your device...."
message; the VS2005/WM5SDKPPC driver building and deployment processes ended
up with the following message:
1>Authenticode signing project output...
1>Successfully signed: c:\tommyclee\cvs\identiprise\client\tunnel\cttunim\
cttuni
m\Windows Mobile 5.0 Pocket PC SDK (ARMV4I)\Debug\cttunim.dll
1>Build log was saved at "file://c:\tommyclee\cvs\identiprise\client\tunnel\
cttu
nim\cttunim\Windows Mobile 5.0 Pocket PC SDK (ARMV4I)\Debug\BuildLog.htm"
1>cttunim - 0 error(s), 2 warning(s)
========== Rebuild All: 1 succeeded, 0 failed, 0 skipped ==========
1>------ Deploy started: Project: cttunim, Configuration: Debug Windows
Mobile 5
.0 Pocket PC SDK (ARMV4I) ------
1>c:\tommyclee\cvs\identiprise\client\tunnel\cttunim\cttunim\Windows Mobile 5.
0
Pocket PC SDK (ARMV4I)\Debug\cttunim.dll
========== Build: 0 succeeded, 0 failed, 1 up-to-date, 0 skipped ==========
========== Deploy: 1 succeeded, 0 failed, 0 skipped ==========
But, unfortunately, my driver still cannot be loaded by the XV6700 Device
Manager (device.exe) at the boot time.
I will use the VS2005/WM5SDKPPC Rapi tools to try to find out the cause of
this failure. The other direction of research is in "HTC Apache Kitchen"
which is good for customization and upgrading the XV6700 PDA firmware or OS
image.
I will be very much grateful to have you comment on this work.
Tommy
--
Message posted via http://www.pocketpcjunkies.com Tag: BuildScript question Tag: 128791
turning on phone
I have to deny access to users to the Wireless Manager, and we do it
with a full screen program that prevents access to the Start menu and
Today screen.
The problem is that when the battery is almost empty the system turns
the phone off, and users can't turn it on again when the battery is
charged, because they can't access Wireless Manager.
Do you know if it can be turned on from an API function?
Also, we've seen that if you try to dial a number with the phone turned
off, the system shows up a balloon asking if you want to switch it on,
but it can't be seen because of our full screen program.
Any ideas?
Thanks Tag: BuildScript question Tag: 128789
VS freezes up sometimes if a third party app is started from my
Hi,
VS freezes up sometimes if a third party app is started from our
project. I'm using VS 2005. I am developing on a Windows Mobile 6
phone. I am launching a third party app using
System.Diagnostics.Process. After the third-party app launches,
sometimes VS freezes and the phone hangs. I am not manipulating the
third-party app at all. It just writes something to a location and I
have a loop that reads once the content is updated. Then I kill the
app.
When everything freezes, I have to kill the VS project process on the
desktop and remove the batteries and restart the phone. Could someone
please tell me what could be going on? Tag: BuildScript question Tag: 128785
Comprehensive list of PDAs running Window Mobile?
Can anyone point me to a comprehensive list of PDAs running Windows
Mobile, various flavors? So far, Google hasn't turned it up. Tag: BuildScript question Tag: 128782
Simple app crash after card insert
I have a simple application with following code:
int WINAPI WinMain(...)
{
MessageBox( GetForegroundWindow(), L"Application started", L"Note", MB_OK );
Sleep( 1000 * 5 );
test_function();
MessageBox( GetForegroundWindow(), L"Application finished", L"Note", MB_OK
);
return 0;
}
int test_function( void ) { return 0; }
The size of compiled EXE is ~300 kilobytes, because it has large amount of
temporary unused code.
Offset of the test_function() in RAM is 0x2047C.
So, all is good. I run application, then got first messagebox and second
after 5 seconds.
I put this application to SD-card and trying to run it from card directly.
App still working fine: message, 5 seconds pause, message.
But when i take SD-card and insert it back during the 5 seconds pause, my
application crashed on test_function(). Crash report tells me, that memory
with test_function() is broken by someone.
If i add code for reading memory region from 0x11000 to 0x2047C before the
first MessageBox, then application working fine without eny errors!
Also it working fine from internal device memory.
It's very strange.. May be some troubles with ARM code cache and external
card reading?
I tested my program on following devices: gsmart mw998 (PXA270), iPAQ 3850
(StrongARM 1110).
Thanks! Tag: BuildScript question Tag: 128772
How to get music infomtion from .wma file
I need to get Artist/Ablum/Title information directly from .wma files on PPC.
Are there APIs/SDK for this purpose?
Best Regards,
Y.C. Wu Tag: BuildScript question Tag: 128769
How to install a Pocket PC app using a Mac?
I have a little application that I wrote for the Pocket PC. I
distribute the app as a CAB file, which I tell people to copy to their
PDA, using Windows Explorer on their PC. But what about Mac owners?
How do they get the CAB file onto their PDA? I just tried plugging my
PDA into a Mac, using the PDA USB cable, and the Mac basically ignores
it. Is there some software the Mac user has to install to be able to
see the PDA in the file system? Tag: BuildScript question Tag: 128760
ORM for the compact framework
Hi,
I'm experienced .Net developer but new to the compact framework.
Just doing my first "hello world" application , i'm using sqlMe to present
some plain screen. The article i'm reading is using typed dataset, this
raised some questions:
1. Is it conventional to use datasets in compact framework development?
sounds like a lot of overhead to hold many tabular records on a mobile device.
2. Is there any tiny ORM for the compact framework? Any utility that maps
table to a c# entity? How can i escape explicitly dealing with ADO.NET?
Thanks.
--
www.goldbergYoni.com Tag: BuildScript question Tag: 128759
Own Application Debugger
Hello,
we will wrote a own debugger fpr WinCE on x86 & ARM.
At this time we have a own OS and use Hardware Register on x86
for debugging (make single-step).
But under WinCE we can't use this functions.
We need a Single-Step for a thread context for x86 & ARM.
How can we do this ?
Thanks for help
Jimmy Tag: BuildScript question Tag: 128757
use WMF SDK on Mobile project
The WMF SDK 11 works well on PC project, but fail to use it on Mobile
project.
The complier alaways shows "undeclared identifier" as I declare any variable
such as 'IWMMetadataEditor'
Are there special SDK for mobile project or I need to do some extra work
before calling related API?
thanks Tag: BuildScript question Tag: 128756
Regarding SimWriteMessage issue
I had the same issue and could clear the error somehow. SimWriteMessage fails when there's no date information in the SMSMESSAGE structure.
Try by filling a valid date information into it.
Best Regards
Sreekanth Tag: BuildScript question Tag: 128755
C# app lockup - debugging / tools
I have a C# app that's locking up the handheld, forcing a reboot. It works
fine for hours, then suddenly locks up. If I run the app in the debugger,
when the lockup on the handheld occurs, if I "break all", the debugger locks
up as well, until I physically disconnect the device from the host. The
handheld is running Windows Mobile 5.2, and I'm debugging via VS 2008 and AS
4.5.
The lockup occurs when interacting with a control I wrote that allows the
user to drag a foreground image over a background image. It responds to
mouse up/down and paint events, and invokes an application-specified callback
function passing the X,Y position of the foreground image.
I suspect there is some sort of resource leakage going on, but I'm not
familiar with tools or techniques for detecting such things on a handheld.
Can anyone point me in the right direction? Thanks,
-Dan Tag: BuildScript question Tag: 128752
How to keep dialog / program in background ?
Hi,
I have minimized my program on Windows mobile with:
ShowWindow(SW_MINIMIZE);
m_pCommandBar->ShowWindow(SW_MINIMIZE);
But when i click on "today" on start menu, my prog comes to foreground.
Other word: today screen can't show when my prog is running. Tag: BuildScript question Tag: 128751
How to play error beep on WM6
Hi, Anyone know how to play the error sound associcated with an
error dialog on WM6. Any API available
Thanks Tag: BuildScript question Tag: 128748
Testing if CFont is valid
Hi, I'm developing a C++ app for WM6 with VS2005. I have a CFont
(m_font)object as a member of a control class. In the PresubclassWindow
method of the control i attempt to set up the font by calling
m_font.CreateFontIndirect(...)
This call can fail, later when i wish to use the CFont object how do i know
its valid?? Is there any way of testing
it. Tag: BuildScript question Tag: 128747
Control microphone volume
Hello,
I want to be able to control the microphone's volume (not the
speakers, by
microphone I mean the piece you talk into). Does anybody know where
should I
start (API? Library?).. sort of like those tuning thing in voice over
IP apps.
Alternatively, does anybody know of any app for download that will do
that?
Control the volume of the microphone? Or perhaps mute it?
I am mostly interested in the piece attached to the headset (wired,
not
bluetooth) that windows mobile cell phones use.
Thanks! Tag: BuildScript question Tag: 128739
UI standard for mobile apps?
I've noticed that many Windows Mobile 6 apps (including Microsoft
ones) for my SmartPhone have no File-Exit, Help-About, etc. menu
options.
e.g. mobile Internet Explorer, mobile Outlook, mobile Windows Media
Player 10
Most Windows desktop apps conform to some (G)UI standard.
Is there a (G)UI standard for Windows Mobile apps? Tag: BuildScript question Tag: 128734
GPSID and altitudeWRTSeaLevel
Hello,
I am developing a GPS application.
When it runs on a HTC Touch Diamond 3700 with windows mobile 6.1
I always get an invalid altitudeWRTSeaLevel value
I am accessing the GPS API via .net by importing the GetPostion API call.
All other data are valid especially the altitudeWRTEllipsoid.
Is it a problem of the GPSID or of windows mobile or of the HTC device?
And how can I fix it?
Any hint would be nice.
Thank you
Michael
--
Michael Zdarsky Tag: BuildScript question Tag: 128730
regd. Windows Mobile SDK
Hi,
I understand SDKs are specific and generated based to any hardware
platform and we have the Windows Mobile Professional 6.0 and Standard
6.0 SDKs for Pocket PC Phones and smartphones
I would like to understand on what hardware platforms are these SDKs
are generated.
Is it based on a generic design template such as Handheld devies???
Suppose I have a handset hardware platform, is it guarnteed that
application created out of Microsoft Mobile SDKs going on work on them
as it is..
Is there any specific standardistion to bench mark any hardware
platform for mobile devies as PocketPC or Smartphones, etc.
Thanks, Tag: BuildScript question Tag: 128728
how to recognize Micro SDHC (Tflash) on WM 6.0
Hi...
My OS Version is Build 18547.0.7.3...
I succeed to recognize SDHC (Mini SDHC)
But Micro SDHC (T-Flash, 4G) is not recognize...
Micro SD(T-Flash, 2G) is good working...
Micro SDHC is "SanDisk"
Is MicroSoft's bug? help me!!! Tag: BuildScript question Tag: 128726
LINEEQUIPSTATE state settings
The suggested method for implementing flight Mode programmatically is
to set LINEEQUIPSTATE to minimum. In TAPI what is the difference
between:
LINEEQUIPSTATE_MINIMUM and LINEEQUIPSTATE_NOTXRX
which is best to completely disable the radio interface from transmit
and receive.
Thanks Tag: BuildScript question Tag: 128718
GPSID and altitudeWRTSeaLevel in win mobile 6.1
Hello,
I am using the GPSID from Windows Mobile 6.1 to avoid the nmea data
manually.
The problem is, when I call the GetPosition API I never get the
altitudeWRTSeaLevel.
It is always invalid.
altitudeWRTElipsoid is valid.
Can somebody explait that?
Is that a driver problem?
Or is it a GPS chip problem?
I am using the HTC Touch Diamond mobile phone.
Any hint would be nice.
Thank you
Michael
--
Michael Zdarsky Tag: BuildScript question Tag: 128715
LAP sample project
Hi,
Can you please help me by knowing ,in actual practice how we can
use this LAP sample project( C:\Program Files\Windows Mobile 6 SDK
\Samples\PocketPC\CPP\win32\LAP ).I mean to say how we can reflect the
actual behavior of this sample project in Windows mobile 6.0
emulator.
please guide me .
Thanks Tag: BuildScript question Tag: 128714
Forms
Hi,
I have 2 forms, A, B,
A is for open database, B is the request for A , I have buton in B with
code: Me.Hide end on evenement on focus A it's open de database, but B form
is close only after result, I can't use ProgressBar in A
any solution?
Thanks all Tag: BuildScript question Tag: 128712
Windows Mobile 6.1 Theme Editor
Anyone have a handle on what program to use to create themes for Windows
Mobile 6.1.
I'm using a HTC TyTN11 and would love to get my creative juices working. Tag: BuildScript question Tag: 128709
Hi
How can I use PB to generate BuildScript for command line mode project
makeimg ?
Can Windows CE use the same way as Windows Mobile ?
GuruCE Ltd.
Microsoft Embedded Partner http://GuruCE.com
Consultancy, training and development services.
Kid wrote:
> Hi
>
> How can I use PB to generate BuildScript for command line mode project
> makeimg ?
>
> Can Windows CE use the same way as Windows Mobile ?
>
> Thank you .