DLL Created using vb.net 2.0... Could not create object.

Jul 20, 2006 4 Replies

Hi all,



I created a simple DLL for use with the begin tender hook in the POS. I get a message when the event fires saying "Attempt to execute COM object 'blah.blah' failed. Could not create object." Has anyone else experienced this or know why and can you point me in the right direction? Probably has something to do with how I created my DLL...just a guess.



KJ


It's probably because you haven't gotten your dll registered properly for COM. I've done it with VS2003, but VS2005 may have changed something. You used to use REGASM to register the assembly so that COM applications could find it. I suspect that is still the same, but again, I haven't tried in VS 2005. Check MSDN for info on registering you assembly for COM...

Glenn Adams Tiber Creek C> Hi all,

I have created 2005 DLL's, but I could only get them to work on my machine that had vb.net 2005 installed unless I created an install package and ran the install package on other machines. REGASM didn't seem to cut it in 2005.

Chris LANAC Technology snipped-for-privacy@lanactech.com

"KJ" wrote:

I was able to create a couple DLL's and get cashier, transactions etc...but in order for RMS to find the DLL's they have to be in the "Store Operations" directory. Is there something I have missed? I thought I would be able to create a directory under "Store Operations" called "AddIns" and put the plugins I create in there...

KJ

"clabadie" wrote:

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required