When (Not) to Pack Structures

Posted by: Russ Keldorph In my previous post, I talked about how structure packing works.  Now I’d like to talk about when and why it’s commonly used as well as why you may or may not want to use it.  Let me start out by saying that by “structure packing” I’m referring to the use of the /Zp compiler…

2

Dynamic Initialization of variables

  Hi, I’m Chaitanya Raje and I am a developer on Compiler and Tools team for Windows Mobile and Windows Embedded CE. This is my first blog on msdn. I hope I will be able to share out some insights into new features and commonly known issues about using the compilers and related tools through…

5

How does Windows Embedded CE 6.0 Start?

Posted by Kurt Kennett, Senior Development Lead, Windows CE OS Core Operating system code, as one of my colleague developers recently realized, is “just code”.  It’s not voodoo and it does not exist on a higher plane of knowledge.  In fact, an operating system kernel is usually remarkably well structured and well designed in comparison…

19

What exactly is an SDK?

Posted by: Sue Loh To explain SDKs I will start with what an OS Design is.  The CE OS has a ton of “components” that can be controlled using SYSGEN_ environment variables, that are set or unset based on what an OEM chooses out of the Platform Builder catalog.  A “component” is not a well…

3

Structure Packing

Posted by: Russ Keldorph Structure packing is an extenstion to the C++ language supported by many compilers, including Microsoft’s.  In our language, packing is achieved with either #pragma pack(N), which allows fine-grained control over structure packing, or the -ZpN compiler switch, which is equivalent to adding #pragma pack(N) to the beginning of a translation unit. Microsoft’s packing…

3

Windows CE Native Compilers

Posted by: Russ Keldorph Hi, I’m Russ Keldorph, the dev lead for the native (ARM, MIPS, & SH-4) C++ compilers and runtime libraries for Windows CE.  I started an MSDN blog a while ago, but came to realize that I’m a terrible blogger because I just don’t have the motivation to post regularly.  I’m moving to the CE…

4