Computing Archive
As mentioned previously, C++/CLI code makes use of managed data types to pass data between C# and C++. Primitive data types are not affected by this (int, double, bool, etc.) but others, such as strings, are. Marshalling strings between system and std Strings in C# are referred to as System Strings as they are a
What is CLI and what is it used for? The Common Language Infrastructure (CLI) is a part of .NET programming. It is commonly referred to as the C++/CLI wrapper (this may be important if ever you’re Googling for help) and is used for managing code between different .NET based code. As mentioned previously (here and
Error C2784 is caused by problems with the compiler for using a key in map data structures. Map data structures are very useful in C++, their C# equivalent being the Dictionary structure. They allow you to store data to a key, which means when you come to need that data you can use the key,
Errors are never fun to deal with, especially late at night with no one around to bounce ideas off of. During the course of my programming adventures I encounter many errors in compilation and hopefully, by posting them and the solution for them I might help myself later, or others, in solving the problem. Error
Many programming languages make use of inheritance and inclusion. For beginner programmers, this can be a daunting concept but once understood, they can open up a world of new possibilities for your software development. This post is aimed at those who have an understanding of programming, but perhaps need or want a little example of
File Input/Output (FileIO) is a necessary piece of programming for software development where outputs need to be saved, or inputs used for calculations. All pieces of software create, to some degree, data which needs to be output to a permanent source on the file system. These files are not written magically and need to be
What is Mendeley? Mendeley, for those who don’t know, is a handy reference organiser – it can save PDFs and sync them across devices (using an online account) so you can access your papers on any machine with an internet connection (an online database exists if you don’t want to install the application on every
Mouse Art is a piece of software available from IOGraphica to record the movements of your mouse on the monitor. I stumbled upon this recently and have, over the last couple of weeks, been ‘playing’ with it while at work. It’s very easy to use and doesn’t interfere with what you’re currently working on. I’ve
Every year as far back as I can recall I’ve had a project on the go, some to pass the time and others to serve a purpose, usually for an aspect of motorcycle racing. I think it goes back to 2007 when I started by first website, Doctor Who for Newbies (DW4N), a (funnily enough)
For part of my research since January, I’ve been building some software for automated data capture. This includes a C++ DLL (created myself) doing the brunt of the work, with a C# user interface (making use of the built-in WPF libraries that come with Visual Studio), joined at the hip by a CLI interface. Those