Category Archives: Software

Posts about software, including programming techniques and programming projects that I am working on

STLplus 3.8 Released

This is an update incorporating a number of small changes and bug-fixes. See http://stlplus.sourceforge.net/stlplus3/docs/changes.html for more details. Continue reading

Posted in Announcements, C++, Software | Comments Off

C# – calling C functions – C# callbacks

The final tutorial in this series on calling C functions from C# covers the problem of how to pass a C# callback function to a C function. This is needed if you are using a C DLL and there are … Continue reading

Posted in C#, Software, Tutorials | Leave a comment

C# – calling C functions – marshalling structs

A Previous Post explained how to marshall simple parameters so that C# code can call C functions. The marshalling ensures that all the conversions to get from C# to C types on calling the function, then back to C# types … Continue reading

Posted in C#, Software, Tutorials | 1 Comment

C# – calling C functions – marshalling parameter types

The Problem I am using a DLL provided for me, written in C and I want to call its functions from C#. I have explained in a previous post how to dynamically load a function from a DLL and map … Continue reading

Posted in C#, Software, Tutorials | Leave a comment

C# – building a dynamic DLL loader

Following on from the previous C# article – dynamic loading of a C DLL at run-time, the next step is to make the dynamic loading functions into a class. The class will be in global scope for this example – … Continue reading

Posted in C#, Software, Tutorials | 1 Comment

C# – dynamic loading of a C DLL at run-time

The Problem I am working on a C# project which needs to load one of a set of DLLs at run-time. Indeed, it needs to be able to load and unload them, possibly then loading a different one. The problem … Continue reading

Posted in C#, Software, Tutorials | Leave a comment

Shell scripting tutorials – more prefix commands

The previous article on shell scripting of prefix commands introduced the subject, introduced some pre-defined prefix commands and then showed how to write a basic prefix command using the sleep-before command as an example. This article continues in the same … Continue reading

Posted in Shell scripting, Software, Tutorials | Leave a comment

STLplus 3.7 Released

This is an update incorporating a number of small changes and bug-fixes. I have also rearranged the IDE project files to be separate from the source code.See http://stlplus.sourceforge.net/stlplus3/docs/changes.html for more details. Continue reading

Posted in Announcements, C++, Software | Leave a comment

STLplus 3.7 Released

This is an update incorporating a number of small changes and bug-fixes. I have also rearranged the IDE project files to be separate from the source code.See http://stlplus.sourceforge.net/stlplus3/docs/changes.html for more details. Continue reading

Posted in Announcements, C++, Software | Comments Off

Shell scripting tutorials – prefix commands

Prefix commands are a seriously useful concept in shell scripting. These are commands that you put before another command to modify its behaviour. The Bourne shell (sh) and Bash shells (bash) have several prefix commands built in, which I’ll cover … Continue reading

Posted in Shell scripting, Software, Tutorials | Leave a comment