I'm creating a C# dll that's com visible to be consumed in an MS Access application.
I've already checked the make com visible.
my class has the header:
public class MyClass
DLL is copied to syswow64, then registered with regasm using /codebase and specifying the TLB.
TLB Is added as a reference to access project.
The class is visible in access VBA.
When trying to invoke the class I'm getting
Runtime Error '-2146233069 (80131513)' : Automation Error
Going over the code but it's pretty straight forward. If I invoke the class in C# via a test project (EG: reference the DLL project in a console application and call the same functions there) there are no issues or problems.
Any thoughts or suggestions?