I am new to .net but hopefully someone can help me here.

I created a new class library in Visual Studio
Added the code from this page.
Added the relevant references.
Built the dll.
Tried to register it using regsvr32 but get an error saying
dll loaded, but the DllRegisterServer entry point was not found. The file can not be registered.

Is there any step I'm missing here?