Well, I don't have a sample with a dll. Why do you want a dll? The sample I gave does not need any dll. Everything is self contained within the project. No dll reqired.
Did you try the sample at all?

Or maybe I do not understand you corrctly concerning the dll...