Browse by Tags
All Tags »
C++/CLI (
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
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
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...
תגים:C++/CLI, C++, Vista, Win32, Interop, WPF, Sela, C#, DEV, Windows 7, Multitouch, Multi-touch, Library, Taskbar, Shell Libraries, Sensor and Location, Ribbon, XP2Win7, S&L
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...
תגים:C++/CLI, C++, MVP, Win32, Sela, C#, DEV, Windows 7, Multitouch, Multi-touch, S&L, Taskbar, Shell Libraries, Sensor and Location
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...
תגים:C++/CLI, C++, MVP, Win32, C# 3.0, COM, Interop, WPF, Sela, C#, DEV, Server 2008 R2, Windows 7, Multitouch, Multi-touch, Library, Taskbar, Shell Libraries, Sensor and Location, S&L
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...
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...
This is not new, but many people have hard time when combining native and managed code. One of the more challenging interop task is to call back from native code into managed code. There are multiple ways of doing it: Use P/Invoke and pass a delegate as a pointer to the native code. Use COM interop and connection points (The COM wrapper produces .Net events) You may find other ways such as using Windows Messages or other inter-process comunication mechanism. For example to call to native code (not...
רבים שואלים מה הכיוון שאליו מיקרוסופט מכוונת כאשר מדובר ב ++VC. מדוע אין תמיכה בטכנולוגיות החדשות כגון WPF או WF, מדוע לא תהיה תמיכה ב Linq ולמה לפתח STL ל Managed Code כאשר הביצועים יהיו קצת פחות טובים מ Native STL. אם חושבם על זה קצת, אז די ברור שבנושא NET. ל ++C יש בעיה, הרבה יותר טבעי וקל לפתח ב #C מאשר ב C++/CLI. אז למה בכל זאת לתמוך ב NET.? התשובה היא Interop. ואם Interop אז ברור למה STL וגם ברור למה לא WPF ו WF ששם #C נותנת כבר את המענה. לתשובה מפורטת יותר אנא קראו את הפוסט הזה