Error registering downloaded C++ AddIns

When trying to register a C++ AddIn, I get the following errorcode: 0x80029c4a.

I am running the command

regsvr32 "PostToApp.dll"

Windows 7, 64bit

The PostToApp example I downloaded from

API: C++ 32-bit and 64-bit Add-ins Post Messages After Every Selection (Error registering)

(I did not compile the project, just used the existing dll)

Another downloaded example (TaskExample_CPP) can be registered:

API: Task Add-in Example (can be registered)

The same error with my own AddIn.

I created the addIn with the SolidWorks wizzard in VC 2008 with tlbs from SolidWorks 2011.

Any ideas?

Mirko

SolidworksApi macros