Click here to Skip to main content
11,490,801 members (71,134 online)

Articles by Mattias Högström (Articles: 13)

Articles: 13

RSS Feed

Average article rating: 4.83

Printing
General
Posted: 24 Apr 2014   Updated: 24 Apr 2014   Views: 9,840   Rating: 4.67/5    Votes: 18   Popularity: 5.83
Licence: The Microsoft Public License (Ms-PL)      Bookmarked: 23   Downloaded: 824
Learn the basics of how to draw with GDI on screen and to printer. We will look closer at the different GDI map modes, and how to do proper adjustments when you need to send the output to a printer. We will also create a metafile and load it back in again.
MSIL
General
Posted: 4 Sep 2012   Updated: 27 Sep 2012   Views: 23,100   Rating: 4.72/5    Votes: 14   Popularity: 5.40
Licence: The Microsoft Public License (Ms-PL)      Bookmarked: 38   Downloaded: 713
Runtime IL-Rewriting can be used to add behavior such as logging to applications, or redirect calls from one API to another. This article and accompanying source code explains how to substitute a method call at runtime.
.NET Framework
General
Posted: 5 Jul 2012   Updated: 10 Jul 2012   Views: 26,250   Rating: 4.87/5    Votes: 28   Popularity: 7.03
Licence: The Microsoft Public License (Ms-PL)      Bookmarked: 60   Downloaded: 1,258
We go through the basics and create a simple AppDomainManager.
Posted: 9 Jul 2012   Updated: 11 Jul 2012   Views: 18,300   Rating: 4.81/5    Votes: 14   Popularity: 5.48
Licence: The Microsoft Public License (Ms-PL)      Bookmarked: 42   Downloaded: 611
.NET apps are run by the .NET runtime. There exists an unmanaged API which allows you to run apps under a customized runtime. This API lets you strengthen security, provide a different deployment strategy, add framework logging, provide your own memory management implementation, and sandbox an appli
DLLs & Assemblies
General
Posted: 26 May 2014   Updated: 8 Aug 2014   Views: 29,430   Rating: 4.84/5    Votes: 66   Popularity: 8.88
Licence: The Microsoft Public License (Ms-PL)      Bookmarked: 126   Downloaded: 882
Learn how to export functions from a DLL, and obtain full language independence
Tools and IDE
General
Posted: 2 Jan 2013   Updated: 17 Jan 2013   Views: 13,370   Rating: 5.00/5    Votes: 4   Popularity: 3.01
Licence: The Microsoft Public License (Ms-PL)      Bookmarked: 13   Downloaded: 819
Building a viewer and analyzing profiling data reports from vsperfcmd.
Debug Tips
General
Posted: 27 Apr 2011   Updated: 27 Apr 2011   Views: 12,360   Rating: 4.67/5    Votes: 5   Popularity: 3.39
Licence: The Microsoft Public License (Ms-PL)      Bookmarked: 12   Downloaded: 363
Develop Windbg extensions in Visual Studio and call .NET libraries
Posted: 24 Apr 2011   Updated: 1 May 2011   Views: 27,970   Rating: 4.91/5    Votes: 15   Popularity: 5.77
Licence: The Microsoft Public License (Ms-PL)      Bookmarked: 38   Downloaded: 1,246
Take advantage of the memory page access flag, and set a new kind of breakpoint
Posted: 22 Apr 2012   Updated: 22 Apr 2012   Views: 14,230   Rating: 4.88/5    Votes: 13   Popularity: 5.43
Licence: The Microsoft Public License (Ms-PL)      Bookmarked: 24   Downloaded: 690
A native stackwalk funtion like Stackwalk64 cannot handle mixed-mode stacks, since managed code does not use the stack in the same way as native code does. There is an API called IDebugClient, that does walk a mixed-mode stack correctly, which we will explore.
Posted: 2 Jun 2011   Updated: 30 Apr 2012   Views: 10,870   Rating: 4.75/5    Votes: 4   Popularity: 2.90
Licence: The Microsoft Public License (Ms-PL)      Bookmarked: 24   Downloaded: 497
A WPF control that deobfuscates the callstack on the fly
Posted: 13 May 2012   Updated: 31 Jul 2014   Views: 20,530   Rating: 4.82/5    Votes: 13   Popularity: 5.36
Licence: The Microsoft Public License (Ms-PL)      Bookmarked: 29   Downloaded: 972
Walking a native and a managed callstack is fairly easy. Walking a mixed-mode callstack is much much harder. Existing documentation is truly minimal. I hope this article and its sample profiler can shed some light in this area.
Testing and QA
General
Posted: 5 Aug 2013   Updated: 6 Aug 2013   Views: 12,120   Rating: 5.00/5    Votes: 5   Popularity: 3.49
Licence: The Microsoft Public License (Ms-PL)      Bookmarked: 17   Downloaded: 550
Event tracing for Windows is a super efficient log technology, alas logs are still flat raw logs. EtwDataViewer is a prototype for adding browsability, analysis, and a visual tree representation.
Posted: 1 Apr 2013   Updated: 6 Aug 2013   Views: 27,371   Rating: 4.83/5    Votes: 11   Popularity: 5.08
Licence: The Microsoft Public License (Ms-PL)      Bookmarked: 36   Downloaded: 1,742
ETW is a super fast way to collect runtime data from your app. We will look how we can insert intelligent data points, collect data, and analyze data logs. This permits supervision, anomaly detection, and system optimization.
No blogs have been submitted.
No tips have been posted.
No reference articles have been posted.

Mattias Högström
Architect Visma Software AB
Sweden Sweden
Mattias works at Visma, a leading Nordic ERP solution provider. He has good knowledge in C++/.Net development, test tool development, and debugging. His great passion is memory dump analysis. He likes giving talks and courses.
Follow on   Twitter


Advertise | Privacy | Mobile
Web03 | 2.8.150520.1 | Last Updated 28 May 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid