|
Posted by Ibrahim Zubair on April 1, 2007, 2:46 am
Please log in for more thread options Dear Adams,
I am using VB.Net. I am just testing with a message box with the message "Hi
Welcome" .
Regards,
--
Ibrahim Zubair
"Glenn Adams [MVP - Retail Mgmt]" wrote:
> The PrintReceipt Hook passes a session object to your Process()
> function. You should be calling with parameter=1.
>
> It's possible that you have an unhandled error in the function itself.
> The return you see in RMS is the very unhelpful 'failed to process'
> message you are seeing here.
>
> What language/version are you using to build your component (VB6, .Net
> 1.1, .Net 2.0, vb.Net, c#)?
>
> If you want to post your code, or at least the function definition,
> someone may be able to spot your trouble.
>
> 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.
>
>
> Ibrahim Zubair wrote:
> > Dear All,
> > I am trying to call dll from receipt hook. I registered the dll as follows:
> > parameter = 4
> > hooktype=1
> > objectname=Mydll.myclass
> >
> > When i tried to print the receipt it give me the following error:
> > Atempt to process COM object 'Mydll.myclass' failed. An unknown error
ocurred.
> >
> > The same dll is working when invoking it from custom POS buttons.
> >
> > Thanks in advance,
> >
>
|