windows-ce

Exporting DLL C++ Class , question about .def file

I want to use implicit linking in my project , and nmake really wants a .def file . The problem is , that this is a class , and I don't know what to write in the exports section . Could anyone point me in the right direction ? The error message is the following : NMAKE : U1073: don't know how to make 'DLLCLASS.def' P.S: I'm trying to...

How to get folder sharing on Windows Mobile emulator to work

I am developing an application using Windows Mobile 5.0, under embedded VC++ 4.0, and using the emulator for debugging. I need to copy some files onto the emulator and planned on using the option to map a directory to the emulator storage card. Problem is, this option is greyed out when I run the emulator. From the emulator help i get ...

How to attach VS2005 to process running on WinCe 5.0

What applications/modules/dlls do I need on the Window CE 5.0 device in order to be able to attach Visual Studio 2005 to process running on the device ? ...

Freeing memory on the heap. Should I and how?

I'm writing a CESetup.dll for a Windows Mobile app. It must be unmanaged, which I have little experience with. So I'm unsure of whether I should free the memory I allocate and how I do it. Here's the function I've written: Uninstall_Init( HWND hwndParent, LPCTSTR pszInstallDir ) { LPTSTR folderPath = new TCHA...

CFile Error On Windows Ce

I am using Windows CE 4.2 and MS Embedded VC++ 4.0. The following code gives me the error Access to [file name] was denied., and it creates the file but does not write anything to it. CString tmp; tmp.Format(_T("%s%d"), mFileName, ++ctr); TRY { mFile.Open(tmp, CFile::modeCreate); mFile.Write(&data[ctr%2], 1); mFile.Close(); } CA...

Code profiling / performance analysis tools for Windows CE/Mobile

What tools do you know, other than those in Visual Studio, to analyze performance bottlenecks in a Windows CE/Mobile application? I'm looking for something like AQTime for CE/Mobile, to profile C/C++ applications compiled to native code. ...

What was the most advanced stuff you did with compact framework

At work I use mostly the .NET Compact Framework 3.5 for developing applications that run on smart devices. Our devices are not phones or handhelds - they are measurement instruments which you get with a whole punch of features. Our application is pretty advanced - we are even using a N-Layer architecture, a self-made GUI framework and ev...

Switching between visible applications in Windows CE 5, Lang: C++

Hi I'm an old hand at embedded programming but new to CE and having a lot of trouble doing reasonably simple things, because I am not familiar with the API and struggling to understand the obscure MSDN docs. All I want to do is minimize and maximise two separate applications that are running from one of the applications. E.g. Applica...

Creating a lib from other libs : is it possible ?

I'm using Windows CE Platform Builder and my code is written in C++ . For each of the folders in the project I'm creating a lib ( the code is statically linked ) . However , there are about 20 libs so far . Is there a way to reduce their number ? I was thinking of creating a lib from other libs , but I don't know if that's even possible ...

How to automate importing certificates on a Windows CE device?

I'd like to automate importing cert(s) on a Windows CE device. Pushing the certs down to the devices is not a problem, but once they are there I cannot determine how to import them without using the UI. (I'm currently using Avalanche Mobility Center) ...

How could I create a custom windows message?

Our project is running on Windows CE 6.0 and is written in C++ . We have some problems with the code , and we are unable to debug . We also found out that if in our application we create threads and try to printf from them , the output won't appear . The only output that will appear is the one from the main thread . I would like to do th...

Windows CE Device: Deploy using a .zip or a .cab on headless device?

I have a Windows CE device that we are deploying, but we have complete control of the software installed on it. This is not a typical Windows Mobile device, this is a headless device that the user will not interact with. I know that on PDA-style WinCE devices, the .cab file is the preferred application distribution method. However...

What is the typical interrupt latency for WinCE 6.0 on an ARM target?

What is a typical interrupt latency for WinCE 6.0 on an ARM target? (Just looking for a ballpark value for performance estimation) ...

Access desktop release diretory from windows ce device

I am writing a test program to copy some file in Applicaiton data folder on device to release directory on desktop. I am not sure how to access release dir on desktop? Is there any shell command to do that? Basically I want to write c++ program that will run on device to accomplish this task. ...

Developing an Internet Client On Windows CE

I have 5 HP Compaq t5530 Thin Clients with Windows CE 6.0 installed in 'em. I have a Windows 2003 server. Those 6 PCs should be used for browsing. And a user can browse for an hour and be able to extend time. I need to develop a simple client-server program to control the internet usability. How do I go with this? What do I need? FYI...

Windows CE vs Embedded Linux

Now I'm sure we're all well aware of the relative merits of Linux vs Windows Desktop. However I've heard much less about the world of embedded development. I'm mainly interested in solutions for industry and am therefore uninterested about the IPhone or Android and more interested in these two OSes. What are the relative trade-offs betw...

Media on Windows CE using Compact Framework

I have the following requirements: I need a api that works on CE (x86) + .NET Compact Framework to play videos (Similar to CorePlayer API... Just free)? Is their anything else available or must I use CorePlayer? ...

How do I get WLAN information on my mobile device?

I want to build something like a network scanner, so that I see in my application on which AccessPoint I'm on and what parameters this net has. Some interesting point would be ESSID, signal strength, noise, channel. Are theses properties device independent or do I have to interface each device independently? ...

In .NET CF 2.0, will a global keyboard hook interfere with P/Invokes that require a keypress?

My details: custom mobile device running Windows CE 4.2, Compact Framework 2.0 SP1. C# app making decent use of P/Invokes with no problems until now. I've written a low-level keyboard hook (similar to, but not identical to, this CodeProject post) which works marvelously with one exception. One thing that our software does is allow acces...

Where do I specify the text of a Pocket PC app's shortcut?

I'm unfamiliar with Pocket PC development, but I have to make a few minor changes to an VS2005, Pocket PC 2003 Device application. One of the changes (which I thought would be trivial) is changing the text of app's shortcut, but I can't figure out where this text is set. The solution includes a setup project, so I'm looking for it in t...