Developing a Windows Store app using C++ and XAML

Tuesday, January 15, 2013

Like any Windows API, Windows Store Applications API is based on native code. Unlike the old Win32 API, the new native interface is not based on the C language prototype, nor the old COM programming model. Microsoft has realized that the .NET type system provides modern, richer and more productive alternative. To have .NET productivity in native code, Microsoft has borrowed the type system principles (ECMA 335 CLI type system) and merged it with the COM programming model. In Windows Store API, you have interfaces, properties, delegates, events, attributes and many other .NET goodies, without the underlined CLR, Class-Loader,...

Message Only Window in for .NET Application

Monday, December 26, 2011

  Overview .NET is great platform, it speeds up the development process, you deal with your application logic and in most cases you don't need to know that there is whole Windows operating system down there. However sometimes you do need to program against Windows without the .NET assistance. As a Windows developer, you need to keep all your weapons ready, be it .NET, COM or C++ with the native Win32 API. In this article I am going to show how to deal with Windows Message based communication protocol within .NET application. Windows Messages In traditional User32.dll based Windows application the Windows...

My Build Event Insights

Tuesday, September 20, 2011

You didn't have to go to //BUILD/ to get the information and knowledge of the new Windows Platform APIs; you could watch all the sessions from the comfort of your home, and I encourage you to do so, however attending the conference helps obtaining a perception about the future of Microsoft and especially the future of Windows technologies and the reaction of the developers that attended the conference. I didn't want to post about the conference before I have a clear picture, and believe me the picture was obscured. According to the first day keynote and the discussions...

Thanks to the people that came to the first meeting of the Windows Platform Developers User Group

Thursday, November 5, 2009

Thanks for all of you that despite the traffic jams, made it and came to the first meeting. And thanks again for your feedbacks, all of them were excellent! Here are the links for the resources that we talked about: Windows 7 Training Kit Visual Studio 2010 Training Kit – The kit contains the MFC labs for the Windows 7 features XP2Win7 – stay tuned for a new release next week, or two. Removing the Kernel Dispatcher lock by Arun Kishan ...

The first meeting of the Windows Platform Developers User Group

Wednesday, November 4, 2009

Come and join Pavel and me to the first meeting of the Windows Platform Developers user group. If the Windows platform is interesting you (and it probably does, otherwise you won’t be reading this post) you have to come. This is the chance to influence the spirit of the group. Pavel and I wanted to have a group for people like us. Those who develop for Windows with any needed tool, not just .NET or C++ but both and even more. The first meeting will be about Windows NT 6.1, this is the shortest way to say Windows 7...

Make your application runs and shines on Windows 7

Friday, August 7, 2009

Moving applications to new platform is not an easy decision to make. Sometimes you have no choice, new desktops and laptops run the new operating system and you have to support your clients. Sometimes you do have a choice, you install your application with the system and you can choose the operating system that your code will run on. There are two factors in this dilemma: first is the investment effort on making the application compatible with the new O/S comparing to the benefit (ROI). Second is that the application will probably need to continue running on the old...

Windows 7 RC Training Kit

Friday, June 12, 2009

More of our work is available to download. Microsoft has published the Windows 7 training kit. the kit includes the PowerPoint decks, the demos and HOLs. This is a great way to learn the new and cool features of Windows 7. The kit was developed by Yochay Kiriaty (DPE Redmond) with a lot of work of Dima, Sasha and myself. We took the PDC 2008 slides, fixed them, added new information, developed new demos and created new Hands-On-Lab for most of the features. Microsoft will soon publish another demo application that we have developed that shows how to add...

Finally – Our Windows 7 .NET Wrappers are out

Saturday, March 14, 2009

During the last few months a small team from Sela, has developed course materials, exercises and demos for the DPE Metro Program, that show how to develop with the new features of Windows 7. As you may know, all of the new feature of the system are exposed to native developer, using Win32 API and COM. To use C# and .NET we developed set of wrappers. Sasha developed the Taskbar wrappers, and also wrote about it in his blog. Dima developed the Sensor & Location Platform wrappers and I developed the Shell Libraries wrapper and the Multi-touch wrappers. You...

C++ Open House

Thursday, June 26, 2008

Thanks for all the C++ developers that came today to the Microsoft C++ Open House. I hope that you enjoyed and learned about the new features of MFC, TR1, C++/CLI and C++ ox. As I promised here are the slides and examples.   In addition I told you about the JobObjectWrapper project. This is a good example of using C++/CLI to bring the native world capabilities to the .NET world.   For those who were in the Windows Server 2008 open house, here are the post with the examples of that day.   One last thing, at the beginning...
3 comments

Finally – We released the JobObjectWrapper project

Wednesday, August 29, 2007

A job object allows a group of processes to be managed as a unit. Job objects are namable, securable, sharable objects that control attributes of and assign limits to the processes associated with them. Operations performed on the job object affect all processes associated with the job object.JobObjectWrapper is a .NET abstraction over the Win32 Job Object. With this library you can create job objects, create and assign a process to the job, control process and job limits, and register for the various process- and job-related notification events. Most of the code is written in C++/CLI. This is a good...