COM add in problem

Hi

I am starting to write a VB6 dll add in for RMS. Im following the instructions for the Customisation Guide. Im creating an ActiveX Dll and adding a function in a public class called Process.

My Process class I have taken from the guide and is as follows

Public Function Process(Optional mySession As Object) As Boolean If MsgBox("The current cashier is " & mySession.Cashier.Name & ".") Then Process = True Else Process = False End If

End Function

I register my dll and add the registry data as follows:

DLL Name: MeProject.dll Class Name: MeCls.cls

Registry Entries:

HookType: 4 Parameter: 1 ObjectName: MeProject.MeCls Caption: MeCls Description: My Test

I then start my Store Operation Pos, run through a transaction and do not get any calls to my dll. Then when I close the SOP my entries into the registry are removed.

I have tried it with and without the QSRules.dll

I have also tried it vb.net and had the same issue.

Any ideas?

Reply to
C_At+CXL
Loading thread data ...

You need to set the hook count to 1 - it's in the Hooks Registry node.

Reply to
Glenn Adams [MVP - Retail Mgmt]

Where can I get a copy of this customization guide?

I really need it to develop some small utilities for my company

please email to commercia snipped-for-privacy@yahoo.com

"Glenn Adams [MVP - Retail Mgmt]" wrote:

Reply to
Siddy

Can I get a copy of the Customization guide as well? I can't seem to find it. My email is snipped-for-privacy@jacomponline.com.

Thanks

Reply to
JHL

Hi all,

Can I get a copy of this customization guide also? snipped-for-privacy@gmail.com

Much thanks,

KJ

"JHL" wrote:

Reply to
KJ

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.