STM.NET
Microsoft has made available a first beta version of an experimental version of .NET 4.0, called .NET Framework 4.0 Beta 1 Enabled for Software Transactional Memory v1.0. Since that is quite a long...
View ArticleReference a XAML From Another Project
When you create a WPF application, the start-up window is by default one from the same project (by default called Window1.xaml). < Application x:Class="WpfApplication1.App"...
View ArticleDotNetZip Library
.NET 3.0 provides some support for working with ZIP files. However, it has an important drawback: it only works for packages that are conformant to the Open Packaging Convention standard. Most of the...
View ArticleInterface Implementation in C#
I recently found a piece of code that can be summarized by the following sample:interface I { void F1(); void F2(); } class X { public void F2() { Console.WriteLine("F2"); } } class A : X, I { public...
View ArticleHow To Determine the Platform Architecture for a .NET Assembly
I’m using Red Gate’s .NET Reflector for decompiling .NET assemblies. It’s a great tool but it lacks, at least in the free version I’m using, information about the platform architecture of an assembly....
View ArticleWindows Runtime
Windows Runtime, or shortly WinRT, is a new runtime (siting on top of the Windows kernel) that allows developers to write Metro style applications for Windows 8, using a variety of languages including...
View ArticleWhy won’t my .NET redistributable assemblies show up in Visual Studio’s ‘Add...
The Problem You install a .NET redistributable package and want to reference the assemblies in your project. However, though everything is correctly installed to GAC, the assemblies don’t show up in...
View Articleerror C3510: cannot locate dependent type library ”...
Problem I have recently migrated a C# 2.0 project registered for COM interop to .NET 4.5 and when I imported the type library in a C++ project with no_registry, suddenly I got some errors because the...
View ArticleBindings for DataGridView hosted in an MFC application
A WinForms DataGridView control has the ability to automatically generate its columns and populate from a specified data source (which can be a DataSet, a simple list or something else). All you have...
View ArticleRender the screen of a Windows Store App to a bitmap in Windows 8.1
In WPF, Silverlight and Windows Phone it is possible to render a visual object into a bitmap using the RenderTargetBitmap. This functionality, that I find pretty basic, was not available for Windows...
View ArticleField trip report from ITCamp 2016
Last week I have attended ITCamp in Cluj-Napoca, Romania. The conference has already established itself as the most important community-driven technology conference in Romania and lately, as the...
View ArticleHow to determine what CLR versions are installed using C++
You may have multiple versions of the .NET framework installed and used on your machine. The framework has two components: the set of assemblies that provide functionalities for your application, and...
View ArticleVisual Studio 2017 Releases
Microsoft recently announced that it released version 15.5 of Visual Studio 2017 (and Visual Studio for Mac version 7.3). There are various improvements to performance and diagnostics (such as cutting...
View ArticleMarch good reads
Here is my list of good reads from March. C++ in Tony Tables constexpr-format – Compile-time printf-like string formatting in C++17 Compact multidimensional sorting and searching with kdtools Don’t...
View ArticleHow To Determine the Platform Architecture for a .NET Assembly
I’m using Red Gate’s .NET Reflector for decompiling .NET assemblies. It’s a great tool but it lacks, at least in the free version I’m using, information about the platform architecture of an assembly....
View ArticleWindows Runtime
Windows Runtime, or shortly WinRT, is a new runtime (siting on top of the Windows kernel) that allows developers to write Metro style applications for Windows 8, using a variety of languages including...
View ArticleWhy won’t my .NET redistributable assemblies show up in Visual Studio’s ‘Add...
The Problem You install a .NET redistributable package and want to reference the assemblies in your project. However, though everything is correctly installed to GAC, the assemblies don’t show up in...
View Articleerror C3510: cannot locate dependent type library ”...
Problem I have recently migrated a C# 2.0 project registered for COM interop to .NET 4.5 and when I imported the type library in a C++ project with no_registry, suddenly I got some errors because the...
View ArticleBindings for DataGridView hosted in an MFC application
A WinForms DataGridView control has the ability to automatically generate its columns and populate from a specified data source (which can be a DataSet, a simple list or something else). All you have...
View ArticleRender the screen of a Windows Store App to a bitmap in Windows 8.1
In WPF, Silverlight and Windows Phone it is possible to render a visual object into a bitmap using the RenderTargetBitmap. This functionality, that I find pretty basic, was not available for Windows...
View Article