|
thx, i think i should give up.
|
|
|
|
|
Hi
I am working on the multi language support for a mobile application targeted for WM5.0 and WM6.0 devices. The localization resources dlls work good when I test application in debugging mode, but it poses problems when I deploy using the cab files.
I have included the localization resources for the application in the cab setup project but it seems that when the localization resources dlls get corrupted when deployed through the cab set up project, because the size of the dlls is not the same when deployed on the device in debugging mode and through cab installer.
Kindly tell if I am missing something.
Thanks in Advance
|
|
|
|
|
Dear All,
SetLocalTime API is working fine in Win Mobile 5.0.But SetSystemTime is giving a time diff of eight hours ahead.I am working on Win Mobile 5.0 SDK platform.
Please help....
|
|
|
|
|
Didn't I see this question in the Visual C++ forum too?
Naughty Arun.
The answer there was that the two functions are different, and if you read the definition, SetSystem using UTC (an american way of saying GMT). I suspect you have a +/-8 hour timezone set for your Mobile device.
Iain.
Plz sir... CPallini CPallini abuz drugz, plz plz help urgent.
|
|
|
|
|
Hey Guys,
I would like to add some very industry specific entries to the autoprompt that comes up when using the virtual keyboard on a windows mobile device. I was wondering if anyone could point me to examples or documentation that relates to modifying the list of autoprompted words...
Thanks in advance,
Ryan
|
|
|
|
|
Hi all,
I have developed a simple software for a WM5.0 device that makes the
following operations:
- creates a GPRS and VPN connections through the DMProcessConfigXML API.
- opens the VPN connection through the OpenNETCF ConnectionManager.
- launch the TelnetCE software using the System.Diagnostics.Process class e
using the WaitForExit method.
- when the TelnetCE is closed, my software closes all connections through
the ConnectionManager Disconnect method.
Since the connection manager doesn't close all the opened connections, the
software must use the RasHangUp API.
The problem is that the device becomes unusable when the first RasHangUp is
called on the first opened connection (got through the RasEnumConnections
API).
Switching off and switching on the device, the RasHangUp API seems to
continue its work but the system connections are unusable anyway.
Only after a softreset the connections become usable.
If my software launch another application instead of TelnetCE, the problem
doesn't occur.
Can TelnetCE lock the connection even if it is closed?
How can I solve this problem?
Thanks in advance
mauro
PS: My disconnect methods
private static void disconnect()
{
if (_connectionManager != null)
_connectionManager.Disconnect();
_connectionManager = null;
Thread.Sleep(5000);
hangUpExistingConnection();
}
private static void hangUpExistingConnection()
{
int conns = 0;
RASCONN[] ras = new RASCONN[256];
ras.Initialize();
ras[0].dwSize = Marshal.SizeOf(typeof(RASCONN));
int lr = ras[0].dwSize * ras.Length;
int ret = RasEnumConnections(ras, ref lr, ref conns);
for (int i = 0; i < conns; i++)
{
try
{
RasHangUp(ras[i].hrasconn); // Execution stops here.
Thread.Sleep(3000);
}
catch (Exception ex)
{
showErrorMessage(ex); // No errors occured
}
}
}
|
|
|
|
|
I think you need to check the ras device name before hanging it up, by using RasGetConnectStatus. Normally the data connection is named "Cellular Line". Don't hang up other connections with different name.
|
|
|
|
|
Hi guys,
I'm using Visual Studio 2005, and every time when I use a function from aygshell.h I receive:
error LNK2001: unresolved external symbol __GSHandlerCheck
Windows Mobile 5.0 Pocket PC SDK (ARMV4I)\Debug/Trayapp.exe : fatal error LNK1120: 1 unresolved externals
Do you have any clues why is this error and how to fix it?
P.S. I'm writing in C++ native for mobile, without .Net. What bothers me is that the same result is coming when I try to compile Mobile SDK 5.0 samples that are using aygshell.h.
modified on Wednesday, June 25, 2008 10:05 AM
|
|
|
|
|
|
thank you very much Cédric, thank you!!!
Actually it worked but in reverse - I had to turn Off /GS
For all that have the same problem (basically all that have VS2005 SP1 and are making WM5.0 in native):
- add /GS- to C/C++ command line
or
- C/C++ -> Code Generation -> Buffer Security Check: No
|
|
|
|
|
How do i find a resource type? EnumResourceTypes apparently doesn't exist on the Mobile API, so is there an alternate approach? I have the name of the resource I'd like to load, but I don't know the type. Alternately I could just try FindResource() and keep guessing the type till I either get a handle back or don't find anything, but that doesn't cover custom types.
¡El diablo está en mis pantalones! ¡Mire, mire!
Real Mentats use only 100% pure, unfooled around with Sapho Juice(tm)!
SELECT * FROM User WHERE Clue > 0
0 rows returned
Save an Orange - Use the VCF!
VCF Blog
|
|
|
|
|
Hi,
can anyone tell me of an easy way to check if the win form app I've developed for XP would work on CE if I complied it with the right complier?
I'm using .net 2.0 and just want to check if it would work for CE
Thanks
Michael
|
|
|
|
|
Depends on a number of things, mostly if you used:
- p/invoke (not all Native calls port directly over to WinCE and/or Windows Mobile)
- .NET 2.0 Compact Framework compatible class/methods in your XP application
Also you need to have greater than or equal to the professional version of Visual Studio 2008.
If you meet the above then it will be REAL easy to port it to WindowsCE/Windows Mobile.
If you don't meet the above then it is undetermined how long it'll take you. Depending on what your app is doing and settings you need it could be easy as changing one p/invoke call to near impossible to port over.
-Spacix
All your skynet questions[ ^] belong to solved
I dislike the black-and-white voting system on questions/answers.
|
|
|
|
|
Thanks for your response. Currently I'm using 2005 Professional so you may have just given me a business case to get the upgrade
|
|
|
|
|
Hi All,
I want to dowload some data from the web server on my mobile device, In this case I know my mobile device have (suppose : 25 MB Free space) sufficient memory space on it. But how i will be identify that how many size of data will be coming form the web server. how can i check the coming data's file size (which will be coming form the webserver that is downloading files).
I have to check before downloading...
Please give me proper suggestion.
Pavan Pareta
|
|
|
|
|
You can use FTP for transferring files and also get the size of the file by sending the SIZE command to the FTP server.
~Dave
Dave Traister
Software Engineer
ComponentOne LLC
www.ComponentOne.com
|
|
|
|
|
Hello All,
Is there any API, that I can use to determine what kind of network that is being used ? I want to findout the Network Connetion (GPS/ GSM / CDMA and 3G and it's service providers like Vodafone, Airtel and so on ) which is used in Windosw Mobile 5.0, I want to findout the Network Connetion using C# code.
Also, want to detect the signal strength of the network?
Please help me in this way...
Pavan Pareta
|
|
|
|
|
please note: Yes I already posted this in the C# forum ( http://www.codeproject.com/script/Forums/View.aspx?fid=1649&msg=2604582[^] ), but at the suggestion of others said I might have better luck here.
I give up, this seems impossible without the UriBuilder class... Well since .NET 1.1 when they made Uri(string, bool) obsolete... So here is my question:
How do you build a System.Uri object in .NET compact framework that points to a "file://" scheme with passed query information?
I've tried every valid (not obsolete) constructor for System.Uri meaning:
* Uri(string)
* Uri(string, UriKind)
* Uri(base, string)
* Uri(Uri, Uri)
It didn't matter which I use because they don't have any affect on the outcome... Every constructor will escape the ? to hex as %3F which is not valid to use with query information!!!
I can do this fine with strings but if I pass a string to the WebBrowser control it'll convert the string to a Uri object and have the problem again. So I need to build the correct Uri object and pass it to the WebBrowser control.
MSDN says the following lie:
The Uri constructors do not escape URI strings if the string is a well-formed URI including a scheme identifier.
Proven by this example:(start a new smart device application and add this code to the form1.cs file)
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace DeviceApplication1
{
public partial class Form1 : Form
{
public int demoValue = 4;
public Form1()
{
InitializeComponent();
this.Load += new EventHandler(this.Form1_Load);
}
void Form1_Load(object sender, EventArgs e)
{
Uri htmlFile = new Uri(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), UriKind.Absolute);
MessageBox.Show("htmlFile.AbsoluteUri=\r\n" + htmlFile.AbsoluteUri);
string properFormated = string.Format("{0}/DeviceApplication1/test.html?test={1}", htmlFile.AbsoluteUri, this.demoValue);
MessageBox.Show("properFormated=\r\n" + properFormated);
Uri fileWithQuery = new Uri(properFormated);
MessageBox.Show("fileWithQuery.PathAndQuery=\r\n" + fileWithQuery.PathAndQuery);
}
}
}
View your results and see my problem any suggestions? I'm desprate at the moment (this has been bothering me since April!)
-Spacix
All your skynet questions[ ^] belong to solved
I dislike the black-and-white voting system on questions/answers.
|
|
|
|
|
After further testing this has been reported as a bug to the Visual Studio and .NET team via MS Connect: Bug ID 352533
-Spacix
All your skynet questions[ ^] belong to solved
I dislike the black-and-white voting system on questions/answers.
|
|
|
|
|
Hi
When u start internet explorer on Windows mobile and u don't have connection yet then explorer automaticly starts connecting to internet. The same thing i would like to do.
I want that my aplication looks if i am connected to internet and if i am not then it should connected it self automaticly.
Thank you for the answer.
|
|
|
|
|
Hi,
I created a database by using CCeDBDatabase class in embedded vc++.
But I couldn't change the sort order of the database.How can I do that? I tried some ways that is written in the content,however that is not work.
Thanks
ibrahim
|
|
|
|
|
Hi to all!! Can any body help me abt asterisk ,how to generate call in asteriskwin32 to a local phone in windows xp. How to write call files and entension.conf.
|
|
|
|
|
Hi, I am a very new to .NET compact framework. I'm just curious that is there a way to create a program that can help me press the keypad. I have a problem with remembering lots of number. When I make an international call (I use card phone), I have to dial to one number and wait for the signal, and input some password and wait again and press the number I wanted to call with # at the end. So, when I have to put a long number, I just run my program which already have my password and the number I wanted to call. Thanks
|
|
|
|
|
Using VS 2005 (SP.050727-7600)
When I select:
1) File-->New-->New Project
2) Other Languages
3) Visual C#
4) Smart Device
One of the selections is 'Windows CE 5.0'
I have installed the CE 6.x SDK, and I so see:
'Platform Builder for CE 6.0'
Have they change the names? Should'nt I also be able to install so that I see 'Windows CE 6.0' under:
1) File-->New-->New Project
2) Other Languages
3) Visual C#
4) Smart Device
If so, how? I have searched all over the web and I not been able to find the answer.
I am go to work through the book 'Microsoft Mobile Development Handbook', but my ultimate target will be an AIM processor running a .NET version of CE 6.0.
|
|
|
|
|
There is a bug with registering target platforms with visual studio. You must have Visual Studio closed when you install the SDK's else it'll never detect them on your system.
If this is what happoned to you, then uninstall the CE6 SDK, reboot (for good measure), reinstall the CE6 SDK without having visual studio open.
-Spacix
All your skynet questions[ ^] belong to solved
I dislike the black-and-white voting system on questions/answers.
|
|
|
|