Er.... scratch that post.

I was linking to the DLL...

All is good now.