DCSIMG
Interop - class Alon : public CPP, public Architecture

class Alon : public CPP, public Architecture

The smart virtual home of Alon Fliess

Syndication

Browse by Tags

All Tags » Interop (RSS)
Message Only Window in for .NET Application
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...

Posted by Alon Fliess | 2 comment(s)

Screen Capture in SIlverlight 4.0
Recently I have been doing a very sophisticated Silverlight project. In this project there was a need to capture the screen and to save the image in a data base. The known way to capture a screen is to use a WriteableBitmap class instance (See Jeff Prosise blog about this feature that was added in SL 3.0). To capture the screen we use the code from http://stackoverflow.com/questions/1139200/using-fjcore-to-encode-silverlight-writeablebitmap   The following code is a service that captures the...

Posted by Alon Fliess | 18 comment(s)

My Dev Academy Lecture Recording
In the last Dev Academy I have given a lecture in the TDM (R&D Manager) track about Software Porting, The Why, When, and How.  During the lecture I have talked about many different migration scenarios: from VB 6.0 to C#/VB.NET. From VC++ 6.0 to VC 2008/2010, From Unix/Linux to Windows, From old .NET to new .NET etc. I have talked about the porting project, best practices and tools. This is the link to the lecture’s slides. There are many useful links inside it. This is the link to the lecture...

Posted by Alon Fliess | 2 comment(s)

Thanks to the people that came to the first meeting of the Windows Platform Developers User Group
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 Mark Russinovich: Inside Windows 7 Mark Russinovich: Inside Windows...

Posted by Alon Fliess | 2 comment(s)

The first meeting of the Windows Platform Developers User Group
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...

Posted by Alon Fliess | 3 comment(s)

Atom Based Computer with Windows 7 Runs My Home Automation Server
I own a Dual CPU Pentium III computer. This machine is 10 years old. I used to take it to companies back in the beginning of the millennium to teach about multi CPU programming. I have also developed and tested device drivers on it. around 2004 I began to use it as a gateway to my home automation system. It runs Windows XP with all my home automation related applications and code that I have developed. The machine became very noisy, I have replaced all the fans and put some oil but still the decibel...

Posted by Alon Fliess | 12 comment(s)

More Windows Ribbon Tools & Resources
As the co-author of the “ Introducing Windows® 7 for Developers ” book  I wrote the two chapters about the new Windows Ribbon Framework. The first Ribbon chapter deals with the Ribbon markup language and the second chapter deals with the code behind. To let the reader the ability to understand and play with the markup language before reading the code behind chapter, I have created an open source project named RibbonExpolorer . The Ribbon team from Microsoft has also created such a tool named...

Posted by Alon Fliess | 3 comment(s)

Make your application runs and shines on Windows 7
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...

Posted by Alon Fliess | 2 comment(s)

Windows 7 Metro Content Updated for the RC
I have just came back from another Metro Win 7 course that I have given, this time in Budapest Hungary.  It was the first time that I have use the new RC materials. We were very busy moving all our slide decks, demo code and Hands On Labs to the RC Version as well as moving many of our samples to use the Windows API Code Pack instead of our Windows 7 Integration Library. The API Code Pack is the official wrapper of Windows 7 features for the .NET developers. There are still some parts that have...

Posted by Alon Fliess | 2 comment(s)

Finally – Our Windows 7 .NET Wrappers are out
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...

Posted by Alon Fliess | 45 comment(s)

Back to the Future - Summary of my lecture at Tech-Ed Eilat
Technorati Tags: COM+ , WCF , Architecture , C++ , SOA , .NET For all of you who have been at my lecture I hope that you enjoyed and that you have learned few new things, If you didn't get my message, here is a summary: Think about the future, the present is the past of the future. Invest in the architecture. Decoupling is the name of the game, always was and always will be. Know your framework roadmap. New technologies make decoupling easier. Using WCF interoperabilities lets you re-use old...

Posted by Alon Fliess | with no comments

337 - ORPC to SOA or as I call it Back to the Future, Tomorrow morning
If you are in Tech-Ed Eilat, remember to come to my lecture on Monday 7/4 at 09:45, Topaz Opel room, Hilton. Why do you want to be there: I will take you to a time travel You will see plenty of technologies speak together: C++, ATL, COM, COM+, VB Script, C#, Enterprise Services, WCF, Windows WF, .NET Remoting, ASP.NET ASMX I use the OLE DB Template technology to access database in ATL I Use LINQ to SQL technology to access database in C# And I use WPF in my client code! I will show you some real...

Posted by Alon Fliess | with no comments