|
Posted by Glenn Adams [MVP - Retail Mgmt on July 12, 2005, 9:08 am
Please log in for more thread options
Is that really the error message you see? your error message indicated that
POS is trying to create "MyDLL.MyClass", but later you have it shown as
ObjectName "MyTest.MyTest"...
What development Environment? Are you testing on the machine you built the
project on or a separate system?
If you're using a .Net language, you may need to look up COM Interop. If
you're not testing on the development system, you probably need to register
your component on the test system.
--
Glenn Adams
Tiber Creek Consulting
http://www.tibercreek.com glenn@tibercreek.com
----------------------------------------------
Please DO NOT respond to me directly but post all responses here in the
newsgroup so that all can share the information
> Hi,
>
> I created a DLL to test whether I'll be able to hook it with Tender
> (F12).... But I just don't understand what the problem is, I am simply
> not able to get into the Process() Function. Store Operations POS
> errors out "Attempt to execute COM object 'MyDLL.MyClass' failed. Could
> not create object." when i press the F12 button to invoke the DLL....
>
> Here's what I did....
> ------------------------------------------------------------------------------
> DLL Name: MyTest.dll
> Class Name: MyTest.cls (I even tried with different class names and dll
> names, but it didn't work)
> Registry Entries:
> HookType: 2
> Parameter: 1
> ObjectName: MyTest.MyTest
> Caption: MyDLL
> Description: MyDLL
>
> Public Function Process(mySession As Object) As Boolean
>
> MsgBox ("Hello")
>
> End Function
>
>
> -------------------------------------------------------------------------------
> I don't think there's any problem with the registry entries, cause it
> picks up the name when I hit F12 for 'Tender'... Can someone help me
> out on this...Thank you....
>
|