Playing with Target Framework in Visual Studio 2017

Recently I met a problem: I created new C# application project in Visual Studio 2017 and I found that I cannot assign Target framework to .Net framework, instead of this I see only .Net Core option in Target framework dropdown list. In the same time if I open the project created in Visual Studio 2013… Read More »

Raspberry PI VM on VirtualBox

Raspbian OS for Raspberry PI is Linux based operating system derived from Debian. So it could be easily to create Raspbian virtual machine on Oracle VirtualBox. The initial experience with Oracle VirtualBox is required. And you need to install it first. The second you need to download IOS image of Raspbian OS. I downloaded Raspbian… Read More »

Installation and configuration of net-snmp agent on CentOS Linux.

SNMP v3 is the version of Simple Network Management Protocol with advance security mechanism to handle SNMP packets. The net-snmp agent is free snmp v3 agent. The version 3 of Simple Network Management Protocol provides more secure authentication and cryptographic features. The snmpv3 defined in RFCs 3413 and 3414. The steps presented below related to… Read More »

How to get reboot time on Linux machine programmatically.

The sysinfo system call returns a lot of useful system statistic data: memory usage, number of currently running processes, seconds since last boot. The only argument used by sysinfo is a pointer to a sysinfo structure. The first member of sysinfo structure is uptime which contains number of seconds since last reboot. For more details… Read More »

UTC to local time converter in C++

Recently it was needed to convert UTC time string to local computer time string in C++ code. After analyzing several examples from stackoverflow and other resources I implemented this one. It is short application free from explicitely specified time zone. It is not extremely sophisticated at all. I am keeping it here mainly for my… Read More »

Happy MMXVIII new year or JavaScript in WP post

This is the first my post in 2018. The main goal of this post is to check how javascript code embedded into WP post works. The javascript code which is used in this post may be downloaded from here. It is pure javascript implementation without jQuery or other libraries. The purpose of the code is… Read More »

EOVERFLOW error on 32-bit Linux

EOVERFLOW (Value too large for defined data type) error or error with code 75 is defined in errno.h file. The error is very common on 32-bit Linux OS when code tries to proceed with size 2 GB or more. It is very simple to simulate the error. Let us create file with size which exceeds… Read More »

How To Find Parent Process in Windows

Everything has been started by someone. It is related also to any application executed in operating system, except system itself. If you start notepad from command prompt the parent process of notepad process is command prompt. Currently most of the people find parent process using WMI query. For example: C:\projects>wmic process get processid,parentprocessid,name | findstr… Read More »

Processing Output Debug String Event

In previous article “Writing Windows Debugger in C#” the whole debugger architecture for Windows OS was discuss. This post describe how to process output debug string event sent by debugged process. On debugger side output debug string event is triggered by OutputDebugString function call, which has 2 versions: ASCII version OutputDebugStringA and Unicode version OutputDebugStringW.… Read More »

Writing Windows Debugger in C#

Actually C# is not the best language to call Windows Debugging functions. Several pinvokes and debugging structures definitions are required. They may be taken for winbase.h include file. In attached projects these pinvoke and structures definitions are located in PInvokes.cs file. Debugger is a program to debug another process. The debugger may start new process… Read More »