Out Of Memory Exception when using StringBuilder I have a NET CF application running on Mobile 5. The app tries to read a very BIG file (almost 3 Mb) and store its content in a string. I use StreamReader to read the file, and stringbuilder to build the string. However, at some time during this process I get the error: at System.PInvoke.EE.FastAllocateString() ... 15 Oct 2007 10:14
Cant find Pinvoke DLL Hi, I have an an existing VC++ code for Windows Mobile 5.0 and we are able to call this dll properly over Windows Mobile 5.0 device using [DllImport("sample.dll")]. I had to use the same functionality of this dll in PocketPC 2003. I have changed the Target platform to Pocket PC 2003 using Configuration man... 22 Jun 2007 14:10
Phone On/Off I have a full screen application that uses GPRS to communicate with a remote web service. This is usually working fine, but I'm having reports from the field where the system stops working. Under investigation it appears that for some reason the Phone has been switched off. Now this is easy to fix via the To... 13 Jun 2007 07:10
OpenNETCF SetWirelessSettings Our CE.NET 4.2 application requires a wireless connection between 2 different 'networks', a LAN in infrastructure mode and a printer in ad-hoc mode. The LAN has a WEP key, the printer does not. I am using the OpenNETCF.Net namespace (ver 1.4 and VS2003, although hopefully upgrading to VS2005 soon) to switch b... 4 May 2007 05:32
scanning on multiple forms using Symbol SMDK I am writing application for Symbol MC70 unit. For implementation of scanning functionality I am using SMDK for .NET. I have application, which performs scan on first form and from the handler it will opens next form. From this form after successful scan, I am trying to show next form. Unfortunately, it doesn't ... 28 Mar 2007 18:42
MSMQ - Send Message Issue from device to PC Hi, I have written the following code to send message using MSMQ from the device to PC. Private Sub SendMessageToQueue(ByVal Path As String) ' Create a new order and set values. myQ = New MessageQueue(Path) Dim sendOrder As New MSG ID += 1 Label4.Text = ID se... 24 Feb 2007 12:42
simple question about backlight hi all i have this problem... i have set that my backlight's PDA turn off after 30 sec. then i have made a simple program wich after 60 sec call the SetPowerRequirement's API setting the backlight power to full on (device state =0). so the behaviour is this : time 0 start the experiment time 30 sec the b... 9 Feb 2007 06:30
Loading resources: "Value does not fall within the expected range." Sometimes, when my form instantiates the call to "resources.ApplyResources(this, "$this")" in the method "InitializeComponent()" method of my form throws the error: "Value does not fall within the expected range." The Stacktrace is: =====STACKTRACE===== bij System.Collections.Hashtable.Insert() bij Syste... 29 Jan 2007 07:46
Monitor.Wait Workaround Hi there, I need some similar to Monitor.Wait()/Monitor.Pulse() on cf... Does anyone know how can I do this? thanks in advance mrodsilva ... 4 Jan 2007 11:55
Help for Marshalling Below is the unmanaged code written with evc++ ------------------------------------------------------------------------------------------------------------------------------- #include <windows.h> #include <windowsx.h> #include <aygshell.h> #include <msgqueue.h> #include <pnp.h> #include <diskio.h> #include ... 20 Dec 2006 02:50 |