COM add in problem

Trying to get a test dll to work. Created/built Dll with VB 2005 Express. It would not register with regsvr32 so I used regasm.exe edited registry and added hook 000 and update hooks to 1. POS tries to execute hook but I get an error (Attempt to execute COM object "testdll.testmodule" failed. Could not create object). Any help?

DLL named testdll.dll

Public Class TESTMODULE Public Function Process(ByVal Session As Object) As Boolean 'Dim posSession As QSRules.SessionClass Dim posSession As Object posSession = Session MsgBox("Hello World") Process = True End Function End Class

Registry: ObjectName Testdll.TESTMODULE HookType 2 Parameter 1

Reply to
wssr
Loading thread data ...

BeanSmart website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.