Browse by Tags
All Tags »
Interoperability (
RSS)
Currently I am programming an application for performing code analysis on the software that controls the production process. Apart from the parsing of the code, and iterating across a hierarchical representation of the expression tree, all these rules...
The export keyword is a bit like the Higgs boson of C++. Theoretically it exists, it is described by the standard, and noone has seen it in the wild. :) Before I get flamed to hell and back: that last part is not entirely true. There is 1 C++ compiler...
One question that comes up from time to time in the newsgroups is ‘I have a native C++ project and I want to extend it with Managed code (e.g. Windows Forms). What do I do?’ The answer is not so complex. It is fairly easy to extend native...
This afternoon I was working on a Windows Forms app for the finance guys, to help them allocate costs to systems, proportional to predefined allocation keys. The app has to import Excel spreadsheet files and perform all the database actions. The key columns...
Problems exist to be solved. Some problems are so complex that you cannot solve them when you need to. With other problems it is not a matter of complexity, but a matter of not having all the pieces of the puzzle. Some problems are so interesting that...
This article is a follow up of my second article on interoperability for LabVIEW arrays in C++. That article provided a method for allowing programmers to index into multi dimensional arrays like this: But that solution was a bit clunky. It involved 4...
This article is a follow-up on a previous article: 'Manipulating LabVIEW arrays in C++' in which I’ve explained how you could use C++ template classes to work with LabVIEW arrays. There was one annoying issue left to solve: you couldn’t...
One of the best things about LabVIEW is its ability to call external code. This code can be used in the form of a dll, a CIN (custom compiled C code) an ActiveX object or a .NET class. I have often created dlls (on windows) or shared object libraries...
One of the questions that recur from time to time is: ‘How do I use C++ classes in a language that has only C bindings, like C itself or LabVIEW?' The short answer: you can’t. The long answer: you can’t, but you can wrap the C++...