You created a DLL in Visual Studio 2010 so you can reference it in MS Access VBA.
It works fine in 32-bit Office but you get an error (error 429 activex component can't create object) when trying to run in 64-bit Office.
Solution: Unfortunatley non built-in ActiveX objects cannot be created in 64-bit Office and there is no direct work around for this.