If you develop/test on Windows 7, you might want to turn off the Fault Tolerant Heap…

It might interfere with your testing and after your software has crashed a couple of times, your application might start to no longer behave erratically.   As JohnFrum wrote: “I learned about this feature a few weeks ago while debugging my service.  It had been crashing and then it seemed fixed and I couldn’t repro…

0

Do you still use the MessageBox API in your Windows Service?

Or do you display any type of User Interface? Starting with Windows Vista and above, user interfaces generated by Windows services can’t be seen. And even worst, your service could be stuck waiting for some user input that the user cannot give as she does not see anything! Why did we do that? Well it’s…

0

Do you receive WM_PAINT when waiting for a COM call to return?

When a COM call is made that involves a COM Proxy or a call to CoWaitForMultipleHandles() (e.g. in a .NET Runtime Callable Wrapper), you could see this behavior where you would not have under pre-Vista versions of Windows. We made the design change in Vista, among other reasons, to allow proper painting of the applications…

0

Developing native applications for Windows 7 in C++

A gentleman from Germany asked on one of our forums:   “I am interested in developing native Windows 7 Apps (64 and 32-Bit) with Visual C/C++. How can I do this?”   You’ll first need a C++ compiler. You can find that on the MSDN Visual C++ page.   Then the Windows 7 Software Development…

0