Don't forget to set a reference to the F4SM.dll. (Can be found in the examples).
The TinyDll needs to be sitting next to the F4SM.dll.