Home Page link  

Atempt to process COM object failed

 

Point-Of-Sale Software - - MS Point Of Sale software discussed here

 Post an article  get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content  add this group's latest topics to your Google content  YahooMyWeb Yahoo!  Google Google  Windows Live Favorites Windows Live  del.icio.us del.icio.us  digg digg  Add to Netscape Netscape
Subject Author Date
Atempt to process COM object failed Ibrahim Zubair 03-21-2007
Posted by Ibrahim Zubair on March 21, 2007, 6:21 am
Please log in for more thread options
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,

--
Ibrahim Zubair

Posted by Richard on March 21, 2007, 6:28 am
Please log in for more thread options
I am having the same problem. Anyone got any ideas?

"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,
>
> --
> Ibrahim Zubair

Posted by Glenn Adams [MVP - Retail Mgmt on March 21, 2007, 10:24 am
Please log in for more thread options
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,
>

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,
> >
>

Similar ThreadsPosted
Atempt to process COM object VerifyCust.cVerifyCust failed. July 14, 2005, 3:21 pm
Attempt to process COM object "Valutecgiftcards" has failed November 2, 2005, 3:46 pm
Microsoft Store Operations POS: Attempt to process COM object 'ObjectName' failed. An unknown error ocurred. June 11, 2008, 5:01 pm
Need help on: "Attempt to execute COM object 'MyTest.MyTest' failed. Could not create object." July 12, 2005, 4:26 am
Attempt to execute com object RmsGcm.Rms failed September 1, 2005, 4:01 pm
error 2147024769 method of object failed July 25, 2007, 4:48 pm
Attempt to execute com object 'mix.discount' failed. could not cre November 12, 2007, 7:51 pm
EDC Verification Failed December 1, 2005, 7:06 pm
Failed CC tarnsaction May 26, 2006, 9:45 am
Login Failed(Help me Please) October 25, 2007, 2:22 am

Contact Us | Privacy Policy
This site is not affiliated with Intuit - makers of Quickbooks and Quicken software
This site is not affiliated with Sage Software - makers of Peachtree accounting software
XML SitemapXML Sitemap