Quantcast
Channel: Visual C++ – Bonafide Ideas
Browsing all 18 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Some tools that every Visual C++ / .NET developer should have in their toolbox

Hi Community, This post is about some of the tools I use when building stuff or diagnosing misbehaving applications, so I thought it’d come handy to have them, or learn about them [in case you don’t...

View Article



Easy and convenient way to convert Wide Characters to Multibyte with modern C++

One  of the most common tasks we developers have to do comes in the form of data conversion. A good example would be converting  void* (equivalent of Object in .NET) to a specific pointer of a...

View Article

Image may be NSFW.
Clik here to view.

Beware of where you call _CrtDumpMemoryLeaks

The Visual C++ compiler has a myriad of great features to build robust and high-quality software. A good example of this could be _CrtDumpMemoryLeaks function that allows to detect any memory leaks...

View Article

Image may be NSFW.
Clik here to view.

Unit testing our Visual C++ code with Microsoft Unit Testing Framework

One of the things I love about unit testing (besides all of the well-known benefits) is the ability to test code without writing a tester or test harness application, but I can pretty much leverage...

View Article

Pass information to .NET control from Native Code with Visual C++

As a follow up to this post on interoperability between .NET and native code, this post describes how we can host a .NET user control from an ActiveX control, but more importantly set properties that...

View Article


Dynamically add event handlers to controls in a custom .NET control with C#

A few years back I came up with something called “FRF” (Forms Rendering Framework) which allowed me to render any UI (whether they are Web or Windows based) based on a template definition (Yes, this...

View Article

Image may be NSFW.
Clik here to view.

Communication between user and kernel-mode

As a follow-up post on Windows Services and Minifilters, Today I’ll explain one way we can send notifications from kernel-mode to an user-mode application.  Let’s remember Windows provides fault...

View Article

Image may be NSFW.
Clik here to view.

Instrumenting SharePoint code via Performance Counters

Instrumentation is an important and integral part of every system because it allows (among some other things) to monitor the health of the system and/or components of it.  On a recent engagement, I had...

View Article


Image may be NSFW.
Clik here to view.

MetaFS (Metadata File System for Windows)

FileSystems are the storage backbone for any computer system, in Today’s operating systems most of them provide a common functionality set like journaling, security and metadata among others. In my...

View Article


Windows 10 and Visual Studio 2015 Resources

Hi Community, Windows 10 and Visual Studio 2015 were successfully launched a few days ago, and with them a bunch of new features were introduced, being Universal Windows Apps one of the most exciting...

View Article

Image may be NSFW.
Clik here to view.

Whatis Utility for Windows

Hi Community, I’ve just come back to the office after rolling off from an engagement, so this week while being back to the bench I’ve been practicing  and studying some Qt for my upcoming...

View Article

Image may be NSFW.
Clik here to view.

Internals of C# 6 new features

Hi community, it has been a very busy start of the year for me, but here I am as usual sharing with you information that you might find useful. Today’s post is about the internals of a couple new...

View Article

Image may be NSFW.
Clik here to view.

How to properly sign-out users when session times out on an MVC app using...

Hi Community, Today’s post is about a common issue faced by many Web developers when they build an MVC Web application that uses ADFS as its authentication mechanism. The problem lies that sessions...

View Article


Image may be NSFW.
Clik here to view.

Binary Palindrome check in C#

Hi Community, This post is about how to check whether the binary representation of a byte is a palindrome. I’ve recently received an email by a fellow developer requesting some help with this, and...

View Article

LightIoC– Another lightweight IoC Library

Hi Community, Today’s post is about an IoC library I wrote back in 2013. I called it “LightIoc” because it’s self-contained in a single assembly file. Over the years I have used a few IoC libraries...

View Article


Image may be NSFW.
Clik here to view.

Building smart and self-configurable Windows Services

Hi Community, This post is about a question that many of us as architects and developers tend to ask ourselves, how can we build reliable yet flexible software that has the ability to adapt itself on...

View Article

Image may be NSFW.
Clik here to view.

Visual C++ for Linux Development

Hi Community, It’s been  almost 3 months since Microsoft announced their “Visual C++ for Linux Development” extension. There is a very concise and clear article here. This extension allows developers...

View Article


Easy and convenient way to serialize SQLite tables with xamarin

Hi Community, As a follow up to my previous post on Xamarin development, Today is about a common task which is serialization of SQLite tables as a CSV file (It could be any file actually, but in this...

View Article
Browsing all 18 articles
Browse latest View live




Latest Images