Sunday, 12 October 2014

Windows 8 Shortcuts (Including Command Prompt)

In what follows, WB stands for "Windows Button".

WB-C   -> Open Charms (Frequently used Windows Functions)
WB-E   -> Open File Manager
WB-R   -> Open Run (then type cmd to open Command Prompt)

Alt-F4 -> same as before (close current window)

Cntrl-Shift-Escape -> Task Manager

Saturday, 11 October 2014

The Windows Client/Server Runtime Subsystem (CSRSS)

csrss.exe is a component of Windows NT family operating systems that runs the user mode (all code outside of the kernel) of the Win32 subsystem.

Image Path Name in Task Manager

We can check the Image Path Name in Task Manager.  Click on View then Select Column. It can be useful to see if common exe files are running from their expected locations. For example, rundll32.exe should run from C:\Windows\system32 or C:\WINNT\system32.

Sunday, 31 August 2014

Xbox One versus Xbox 360 - 853 > 500

The Xbox 360 has a 500Mhz ATI graphics card (custom built) with 10MB embedded DRAM.

The Xbox one pushes the clock speed of the GPU up to 853Mhz built by AMD (the GPU was launched in November 2013, named Durango).

Note that ATI was acquired by AMD in 2006.

GPU clock speed refers to the speed of the cores of the GPU. Faster the GPU cores, the faster the rendering.

The X in Xbox

This refers to the DirectX API. The latest incarnation is DirectX 12 which boasts "console level efficiency". 3DMark ("The Gamer's Benchmark) is a benchmark used to justify the claim.

Building Apps for Windows Store and Windows Phone

All you need is here. A recommended configuration is Windows 8.1 with Microsoft Visual Studio Express 2013.

Programming at the API Boundary in Windows 8: C++ Component Extensions

The WinRT - What CX is All About

C++/CX (Component Extensions) borrows from C++/CLI but targets the Windows Runtime (WinRT) and native code instead of the CLR and managed code.

It is not Managed C++, though it looks a bit like it.  Neither is it perfectly obedient, standard C++. It is C++ with a bit of "Microsoft spice" added to the fray.

Can thou givest an example of "Microsoft Spice" added to the fray?

Among the so-called "component extensions" is support for partial classes, mainly for auto-merging generated code with developer code. Partial classes are not part of the C++ standard (at least, not as part of C++11).

The entry point - notion of the "ref class"

To use "component extensions" you must declare your class as a "ref class" e.g. public ref class SuperClass. To make it partial, you can whack a partial on the front: partial ref class SuperClass.

C++/CX also supports runtime generics (versus compile-time generics in the STL). However, support for compile time generics remains in place.