A followup to an older post of mine: http://antanas.veiverys.com/enabling-serialport-datareceived-event-in-mono/. The previous approach required rebuilding Mono with a small patch. Here is a derived class that does the same.
Let’s say the buffer was allocated with bigger capacity than the written data. This code will get the written bytes
Note to self: getting an error “An error occurred while validating. HRESULT = ‘80004005’” during Visual Studio Setup build. Solution: check all .csproj projects in the solution, all ToolsVersion values should be same, e.g. 3.5
How to get a short assembly name. Use:
A code snippet on how to populate a TableLayoutPanel cells with controls:
This post will give an example on how to add support for a custom test parameter type. The basic idea of test parameter value handling could be summarized as such: A parameter of a certain type is declared in a test case. In this example, the test case parameter could look like:
I have been struggling with a weird Visual Studio C# Express debugger behavior. My application runs OK without the debugger. When started from VS it either throws an AccessViolationException without a meaningful stack trace or returns with code 0xc0000374. I’m running Windows 7 in VirtualBox, the host OS is Linux Mint 14. Finally I have… Read More »
Some handy commands to analyze how much and where the RAM has gone on Atmega/Arduino: First, enable compiler verbose messages in the Arduino IDE, as you need need to see where the built binaries are stored (on my system, /tmp/build*** directory is used)