Browse by Tags
All Tags »
C# (
RSS)
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...
תגים:C++/CLI, C++, VC, Win32, Interop, C#, DEV, Windows 7, Visual Studio, VS 2010, CPP/CLI, CodeValue, Windows
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...
תגים:C++/CLI, C++, Win32, COM, MFC, C#, DEV, conference, Silverlight, CPP/CLI, C++ Renaissance, Microsoft, Windows 8, WinRT, Build, C++ 11
I recently played with XNA. There is a game that I have developed many times, on the Commodore 64 as a kid, on the Commodore Amiga , later on Windows 9X with MFC, after that in .NET and Windows Forms, and now with XNA . The development experience in XNA was the best, and I can run my game on the phone, on Windows and on my XBOX. The goal of the game is to have higher score . Each player moves only in a specific direction (vertical or horizontal). In each turn a player move the token (S shape) and...
תגים:MFC, C#, DEV, conference, Phone, Fun, XNA, CloudValue, Amiga, Game, Expert Days, Sums
At the beginning of 2005 Herb Sutter had an article stating that the developer’s free lunch is over. We had an assumption that more transistors in the CPU imply better application execution speed. The CPU executes the code in a sequential manner hence the performance of the CPU-bound code is directly related to CPU frequency. This used to be our “Free Lunch”: an old program runs faster on a new CPU. Using this assumption with modern low power consumption multi-core CPUs is wrong, we might even find...
A customer asked me today how he can serialize a structure to a byte array for sending to hardware controller. The controller requires that the structure will be sent as is, with no padding or packing. As long as he sure (we dealing with unsafe code) that the data is correct and the size if fine, he can do the following: using System; using System.Collections.Generic; using System.Linq; using System.Net.Sockets; using System.Text; using System.Runtime.InteropServices; namespace ConsoleApplication20...
This is the fifth TechEd Eilat in a row that I will give a lecture. In previous TechEd I gave lecture with Noam King . This TechEd I have the honor to give a lecture with Vlad Azarkhin . We will show dozen of tools that every .NET developer has to have in his toolbox. We have created a short teaser that explains why you should get out from bed early the day after the big Party of the TechEd.
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...
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...
When we look at the mobile phone market, can we project from it about the future of software? Is Windows 8 going to be a closed system? Will we as developers need to upload all our applications to an App-Store or Marketplaces ? Will we have Multitasking? Let's look at the iPad, a big iPhone or better a big iPod? Let's say that it will sell more than Windows PC based Tablets . What does it say to Microsoft? Microsoft has pushed the tablet idea since the release of Windows XP tablet edition...
תגים:C++, C#, DEV, Home Automation, TECH, Phone, OFFTOPIC, XNA, Future, iPad, iPhone, Silverlight
One of the new features of VS 2010 is the new Help system. During the MVP Summit we have introduced to the new system which has very good foundation, but the viewer that comes with VS 2010 is lack of many features that we used to have and loved such as the TOC, Index, Synch TOC, etc. Fortunately there is a tool ( H3Viewer ) that provides the missing features: In the site you can also find the mshcMigrate tool that enable the migration of old MS Help files to the new platform. ...
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.
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...
תגים:C++/CLI, C++, VC, MVP, Win32, Internal, COM+, COM, Interop, MFC, C++0x, C#, DEV, Server 2008 R2, Server Core, Windows 7, Multitouch, Multi-touch, Taskbar, Shell Libraries, Sensor and Location, Ribbon, Debbug, Windows Internals, XP2Win7, 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...
תגים:C++/CLI, C++, VC, Vista, MVP, Win32, Windows Server 2008, Internal, COM+, COM, Interop, MFC, C++0x, C#, DEV, Server 2008 R2, Windows 7, Debbug, Windows Internals, Dump, User Group
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...
תגים:media center, Vista, COM, Interop, C#, DEV, Windows 7, NISE 100, Atom, Task Scheduler, Home Automation, TECH
We are going to the PDC . And when I say we, I mean 17 experts and 3 managers from Sela . This year we are going to be in all sessions and meet many key professionals from Microsoft and other companies. We will also have a booth . Why do I tell you that? Not just to tell you that it is fun to work at Sela (It is, but it is also very demanding) and that we are investing in our people, but to announce that we are going to talk about all current and new technologies that will be revealed in the PDC...
תגים:C++, MVP, Win32, Windows Server 2008, Internal, WCF, WPF, SOA, C++0x, Sela, C#, PDC, Windows Azure, DEV, C# 4.0, WF, Server 2008 R2, Windows 7, Windows Internals, conference
More Posts
Next page »