windows-ce

i try to combine GUI with class - no success

hi i made a class that make registration to my WinCE program. how i can from the class draw pannel + textbox, and catch the enter press from the textbox ? i try to do this: TextBox tb=new TextBox(); tb.Location=new Point(10,10); Panel pn=new Panel(); pn.Dock=DockStyle.Fill; pn.Controls.Add(tb); this.Controls.Add(pn); but i ...

how to create partition on windows CE device

Is there any tool to create a new partition on windows CE device? Device has a NAND flash memory and initially there were two partitions. Using Storage manager in Control Panel I was able to delete one partition but when I want to create it again, I get an error message: "Unable to create partition". ...

Alternative to Server.CreateObject

I am writing a navigation system in classic ASP (on Windows CE). I require a way to dynamically include navigation files based on the calling script. I have come up with the following code that includes nav.inc that is located in the folder of the calling script to allow different folders to have different navigational features. This wo...

how to create a WIN CE 6.0 LCDdriver?

hi every body,, this is vinoth. i am going to develop a new lcd driver which is for the external lcd panel(240*400 resolution) for win ce6.0 . am new t0 win ce programming . i dont know how to make changes all in the bsp and registry.if any one finds the answer pls help me. it would be very help ful for me. Regards Vinoth. ...

windows CE: why my .net application bloks suspend mode?

If my .net application is running, the system doesn't go to Suspend mode. Modes "User idle" and "System idle" work fine. ...

Arguments On a Console eMbedded Visual C++ Application

I'm trying to develop a simple application that will read some files, targeted for Windows CE. For this I'm using Microsoft eMbedded Visual C++ 3. This program(that is for console) will be called like this: /Storage Card/Test> coms file.cmss As you can see, file.cmss is the first argument, but on my main I have a condition to show ...

Enumerating all open file handles and/or registry handles in Windows Mobile / Windows CE 5.x

Hi all, Is there a way to enumerate all open file handles and/or registry handles in Windows Mobile 5 / Windows CE 5.x? In particular, I'd like to get the handles for all processes in the system, and not just the ones for my application. This would be similar to the list of handles in Sysinternals's Process Explorer for Win32 or Sysin...

Compact Framework targeting

If a smart device project is set to target CF 2.0, Windows CE 5.0, should this same application run on Windows Mobile 6 with CF 3.5 installed? I was able to install it (the CF 2 app), but when running received an error stating that the assemblies could not be loaded and that CF might not be installed. This has led me to belive that smar...

Porting a GUI from a pc to a wince device - issue is with the size of the screen

I have to port a GUI that is currently running on a pc, to a wince device. I have already compiled the code on a win CE platform, the problem is now with the size of the screen of the device which is smaller than some of the dialog boxes of the GUI. I could resize some them in resource view of visual studio 2005. I am unable to proceed f...

Get PocketC File Handle Int?

I'm now taking a look at the PocketC powerful tool, but there is an fileopen function, that generates a integer called filehandle, that is used for most of the File I/O operations of PocketC. How do I use this int filehandle to call the other file manipulation functions? Here is my example function that I'm using at my program: fileope...

EDIT Control Showing Squares Instead Of Returns

I'm playing a little bit with PocketC by doing a simple text editor. But with this code to read and to display the contents of the file on the EDIT control: int filehandle; int file_len; string file_mode; initComponents() { createctrl("EDIT", "test", 2, 1, 0, 24, 70, 25, TEXTBOX); wndshow(TEXTBOX, SW_SHOW); guigetfocus(); }...

how to make IXMLHTTPRequest work over HTTPS, client being WinCE

hi, i am creating a client, which uploads to and dowloads from WinCE client. the code works properly for HTTP but not for HTTPS. Can any one help me about the changes that needs to be done. Code of client on PC : private void btnUpload_Click(object sender, EventArgs e) { try { MSXML2.DOMDocument xm...

Get the SIM card number in Windows CE 5

I'm trying to get the sim card number(IMSI?), the one printed on the card (20 digits), in my c# compact framework 2 application under windows ce 5. I searched around a lot and all the solution I found involved using cellcore.dll but this dll is not part of windows ce 5. Another way involves to invoke some restricted core api who need a ...

Does Windows CE support hash tables?

Quick question of does Windows CE support hash tables? I have a program that I'm modifying and adding to a device that uses Windows CE and I was wondering if CE supported hash tables since it is used in the original software. ...

createthread in WinCE

I have this code written in MFC as a win32 application: CZoneThread* pThread = new CZoneThread( sZoneInfo ); pThread->CreateThread(); Here, CZoneThread is another class. Will this code work correctly in WinCE as well? ...

Routing audio from GSM module to a Bluetooth HandsFree device

I have a system with the following setup: I use: Windows CE 6 R3 Microsoft's Bluetooth stack including all profiles Motorola H500 The Audio Gateway service is up and running (checked through services list in cmd) GSM Module is functional - I am able to set outgoing calls and to answer calls. Bluetooth is functional - the A2DP profile...

Construct a LPCWSTR on WinCE in C++ (Zune/ZDK)

What's a good way to construct an LPCWSTR on WinCE 6? I'd like to find something similar to String.Format() in C#. My attempt is: OSVERSIONINFO vi; memset (&vi, 0, sizeof vi); vi.dwOSVersionInfoSize = sizeof vi; GetVersionEx (&vi); char buffer[50]; int n = sprintf(buffer, "The OS version is: %d.%d", vi.dwMajorVersion, vi.dwMinorVe...

NTLMSetUserInfo on Windows CE 6

I want to create my own user configuration utility targetted for WinCE6 in C++. All the NTLM functions (such as this one) require ntlmssp.lib which I cannot find. I have searched my Platform Builder directories but can only find the dll file not the lib. Can anyone shed some light on how I actually access these functions, or find the ...

Trace the function implemented by DeviceioControl

I am working with a WinCE device which has a radio manager driver written for it in MFC. In the code for the Radio GUI, I can see the function Deviceiocontrol with a specific IOCTL being called. However, I'm unable to trace the particular piece of code called by this function. Can someone tell me how Deviceiocontrol works? ...

What is the Windows CE equivalent of Application.StartupPath?

I'm adding code to a program created to be used on Windows CE. My current problem is that Application.StartupPath isn't recognized. What is the Equivalent line of code I need to use? ...