Memory mapped files from XP to Vista

So you have an NT service and a user application that share date through memory mapped files. It has worked for years. It even survived XP SP2. Now Vista comes along and boom. No more. Let’s see what’s up. You create your memory mapped file from your service. Something like this:     HANDLE mmfile = CreateFileMapping(…

1

Enabling DCOM in Windows Server 2008

In order to make DCOM applications work in Windows Server 2008 you need to do two things. Installing the Application role is not needed (but it does add the COM+ network access as in 1) below). Allow “COM+ network access” in firewall rules (type firewall.cpl from a command prompt and on the left you’ll see…

1

Vista’s Task Scheduler

Last week I was working with an OEM who had two applications: a main application and a scheduler. The sole purpose of the latter was to start the main application. Now the good thing obviously was that the customer did not want to overburden the CPU with the main application during the logon process. A…

0

Welcome Yves

My good friend Yves joined our team last week. He will be helping out with all the Windows Application Compatibility efforts we are undertaking. Yves and I always have heated discussions; maybe some of it will spill over J. I am really delighted to have him with us.

1

b20 Labs and Ice cream

One of the daily challenges is passing this thing in b20 every day . It’s refilled every week. If you want one while pondering how to make your application compatible with WS08 or Vista, check out the MTC labs section here http://devreadiness.org. It is not explicitly mentioned but ISVs are encouraged to drop us a…

1

Calling OOP COM Broker from PMIE finally

I kept getting -2146827859 (800A01AD Automation server can’t create object) when I was trying to create my OOP COM component from PMIE. I could create the component all day long from a Low MIC console app, but not from IE. This shows my inexperience with IE development. It needs a setting that it is safe…

1

COM Server and PMIE again.

I’m still trying to create a COM out-of-process broker that I can call from Protected Mode IE. Amazing how rusty you get, it you don’t do this daily. Here are some of my encounters. I’m using Visual Studio 2008 with ATL 9.0 to create an ATL server. I add a Simple ATL component and register…

1

Where is my COM Component?

I’m desperately trying to get a managed BHO to interop with my IE Broker. The Broker should be a Remoting server that runs and medium MIC level so that it can make changes that the managed BHO can’t make because it is running in Protected Mode IE at low MIC level. At first I spent…

0

IL Levels

I was playing around with a little tool chml that allows you to do more with IL than icacls. You can set SACL’s on files through SDDL strings whereas icacls only lets you set the level, not the qualifier (NX: No execute, NR: No read, NW: no write). icacls always defaults to NW. By default…

0

Testing with Low IL

While playing around with Internet Explorer, managed BHO and Remoting servers, I was annoyed that my BHO kept interfering with my day to day browsing needs. (In order to debug the BHO I had some Debug.Asserts in the BHO which gets to you after a while if you need to use the browser.) Also, shutting…

1