windows-ce

wince calendar app

Hello , I am doing calendar application on customised windows ce device....I am trying to add appointments using pimstore.... steps I followed: hresult hr = clsidfromprogid(progid,&clsid); hr = CoCreateInstance(CoCreateInstance(CLSID_Application, NULL, CLSCTX_INPROC_SERVER, IID_IUnknown, (void **)&g_pUnknown); IAppointment * pAp...

Why is type_info declared outside namespace std?

Hi, I'm using VS2005 and the MS implementation of STL. However, the class type_info in is declared outside of "namespace std". This creates some problems for third party libs that excepts to find a std::type_info. Why is this so, and is there any workaround? Here is a sample from the beginning of typeinfo: class type_info { ... }; _S...

What is ActiveX Hosting?

I need to get the Flash Player ActiveX on the .NET Compact Framework in Windows CE 5. This thread says I need to create an "ActiveX Host" for Net CF in order to accomplish this. How do I do this? Does it mean that I program a COM container component for my ActiveX? (Flash Player) ...

i get System.MissingMethodException in winCE - C#

what this exception: System.MissingMethodException was unhandled Message: File or assembly name 'System.Windows.Forms, Version=3.5.0.0, Culture=neutral, PublicKeyToken=969DB8053D3322AC', or one of its dependencies, was not found. how i can fix it ? thank's in advance ...

Call into a managed assembly from native code on Windows CE

I basically need to expose a C API from a .NET assembly. On the PC, I can use C++/CLI and that works perfectly for what I need. On Windows CE, however, it doesn't look like C++/CLI is supported. Is there any way to do this? ...

How do I change the default sounds for the calendar warning function in CE 5.0?

I have an old Moto Q that I would like to change the default alarm sound in the Calendar function. Right now, it seems to pick up the Alarm4.mid file in the Windows directory, which is embedded in ROM, so the filenames can't be changed. Is there a way to change the file pointer in the Calendar function to another file or is there anoth...

Popular .NET Compact Framework open source applications / components

In my company I am responsible for the development of a .NET CF application which runs on top of Windows CE. We have invested much time in the development of a GUI framework, a top-level design which handles authorizations and navigation on the device, a IoC customer, ... Now I was wondering if there are any other projects which show ki...

Creating a CAB file on WinCE

Hello I want to make a CAB file on a WinCE 5/6 device. The idea is that someone would run a backup script that creates the CAB file, which can then be loaded back onto the device at any point restoring settings to a previously known point. The settings are xml and custom files in various folders on the device, I am not talking specific...

wince 6.0 wpa2-psk

I am trying to configure my wireless device programmatically for wpa2-psk & AES. My platform is wince 6.0. Currently I am using wzctool in wince to configure my wireless. Other configurations work fine once configured. When I try configuring wpa2-psk, the configuration fails and the device goes to default configuration. How can I c...

WinCE vs. Win32 dlls

Hello- I have some COM and some native dlls that are compiled for a Win CE device that I have. I would like to take a look at them, so I can create an application that references them and extends the functionality of some programs already on the device. When I open them with the Dependency Walker or Visual Studio 2008, both tell me that...

Detect Windows CE in vBScript ( Logon script )

Im wondering if its posible to detect windows CE in a windows logon script ( Scrip runs in the user account ). I assume its posible to detect this via some checking for some file, but i was hoping for a bit "cleaner" solution. ...

how to display IBitmapImage on CDC

What is the best way to display IBitmapImage on a device context. I am using Windows CE 6.0. void CImaginingTestView::OnDraw(CDC* pDC) { CImaginingTestDoc* pDoc = GetDocument(); ASSERT_VALID(pDoc); IBitmapImage* pBitmapImage = pDoc->GetBitmapImage(); if (pBitmapImage) { // how to draw my bitmap on a pDC ?? ...

What is the proper way to disable daylight savings auto-adjustment on WinCE?

I want to programatically uncheck the "automatically adjust the clock for daylight savings" check box from a compact framework application running in WinCE. Google searches indicate that you can do this in Windows by setting the DisableAutoDaylightTimeSet value under the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TimeZoneInfo...

Win CE Calendar :Add Appointment ::Need help :appointment:save->E_outofmemory

Hi..., I am trying to add appointment to calendar (using pimstore.lib n .h) using win ce...I am trying as follows: CoCreateInstance(CLSID_Application, NULL, CLSCTX_INPROC_SERVER, IID_IPOutlookApp, reinterpret_cast(&polApp)) polApp->Logon(NULL); polApp->CreateItem(olAppointmentItem, (IDispatch**)&pAppt); ...

How to connect to MySQL Database from eMbedded Visual C++

How can I connect to a remote Mysql database, from Cpp code using Microsoft eMbedded Visual C++ (which is configured for a special board running WindowsCE)? I have downloaded the source files for Mysql C and C++ Connector/APIs but; their 'make' or installation process is pretty complicated and valid only for Visual Studio. ...

Itask::put_Body() and itask::get_body() Need help on win ce based device

Hi, I am trying to add to-do item to win ce based device.... Hresult hr = put_body(text("help me")) givin hr as S_OK... but while reading body part using get_Body(&bstr) getting bstr ="" even though hr returned is S_OK.....May i know the reason plz... thanks in advance ...

CE 5 Application Development under VS2005/CE 6 Development Environment

Can I develop an application targeted to run on CE 5.0 using the Visual Studio 2005/CE 6.0 development environment? Or do I need to find the CE 5.0 development downloads on microsoft.com rather than the latest CE 6.0 ones? Having been 'given' a hardware platform of an ARM based touch device running CE 5.0, along with an SDK from the dev...

How do I disable system pop-ups in Windows CE 6?

What do I have to do to disable all system pop-ups in WinCE 6 R2? I read Mike Hall's post about Kiosk mode [1] but that's not going to work for us because we still want the standard graphical Explorer shell. We plan on hiding the taskbar and start menu and clearing icons off the desktop but need an easy way to make sure that no pop-ups...

how to show semi-transparent object over playing video

Hi, I want to have a alpha blended window over a video playing in the background. Considering the fact that a window cannot be made alpha blended over another window unless you take a snap of the background, I had to resort to OpenGL. I have few options for this: (1) To show an object on the WinCE window without showing the OpenGL ES w...

SmsReadMessage and buffer conversion to string

Hi, I am trying to read an SMS message that I receive. The call to SmsReadMessage completes successfully and I get the message in a byte array. Here is the declaration for SmsReadMessage: [DllImport("sms.dll", SetLastError=true)] public static extern int SmsReadMessage( IntPtr smshHandle, byte[] psmsaSMSCAddress,...