Blog

This blog is where we help you improve your software, teach you how to use our tools to solve problems, software tool use cases, and improvements to our software tools.

Avatar for Stephen Kellett
Stephen Kellett

64 bit porting gotcha #1! x64 Datatype misalignment.

Datatype misalignment, there is a topic so interesting you’d probably prefer to watch paint dry. But! There are serious consequences for getting it wrong. So […]

Porting to Win64
June 10, 2010
Avatar for Stephen Kellett
Stephen Kellett

First steps to 64 bit

Today Thread Validator 64 bit took it’s first steps on its 64 bit training wheels. Interesting problems including DLL Hooking DLL Import structure walking Injecting […]

Porting to Win64
June 4, 2010
Avatar for Stephen Kellett
Stephen Kellett

How to do cpuid and rdtsc on 32 bit and 64 bit Windows

With the introduction of WIN64, the C++ compiler has many improvements and certain restrictions. One of those restrictions is no inline assembly code. For those […]

Life
June 1, 2010
Avatar for Stephen Kellett
Stephen Kellett

Are you a First Aider? Something to think about.

This weekend I attended a music convention in the UK. Something happened on Sunday morning that made me re-assess if I should be a qualified […]

Memory
May 26, 2010
Avatar for Stephen Kellett
Stephen Kellett

How to replace IsBadReadPtr?

The Microsoft Win32 API contains various functions that look useful at first sight but which have now become regarded as a pariahs. A good example […]

Profiler
May 21, 2010
Avatar for Stephen Kellett
Stephen Kellett

The cost of using OutputDebugString

Should you use OutputDebugString? Is that an unusual question to ask? How often have you thought about the potential cost of using OutputDebugString (or TRACE, […]

Memory
May 8, 2010
Avatar for Stephen Kellett
Stephen Kellett

Monitoring memory use in a JNI DLL called from Java

Java is a garbage-collected language that allows you to extend the language with code written in C and C++. Given that the extensions are written […]

Test Setup
May 8, 2010
Avatar for Stephen Kellett
Stephen Kellett

Creating a JNI example for testing

The Java language can be extended using C and C++ to write extensions that are called using the Java Native Interface (JNI). The JNI extensions […]

Thread
April 30, 2010
Avatar for Stephen Kellett
Stephen Kellett

Thread monitoring made easy

Tools like Thread Validator are great for delving into the details of why a thread deadlock has occurred. You get all the gory details, DLL, […]

Thread
April 22, 2010
Avatar for Stephen Kellett
Stephen Kellett

Thread Lock Checker now available

We’ve just released Thread Lock Checker, a lock-checking tool that will let you know when you’ve used CSingleLock incorrectly. Took a bit longer than we […]

Fully functional, free for 30 days