Welcome to LEAD Support Forum Login | Register | Faq  

    LEAD Support Forum
  Resource to find answers and post technical questions about LEAD products.
Search    
   

help needed with files to include
Started by paul@onpix.com at 11-30-2007 12:35. Topic has 4 replies.

Print Search « Previous Thread Next Thread »
  11-30-2007, 12:35
paul@onpix.com is not online. Last active: 11/29/2007 5:41:35 AM paul@onpix.com

Top 500 Posts
Joined on 09-14-2004
Posts 11
help needed with files to include
Reply Quote
Hi, I'm getting the following error trying to run a c# app using comm when trying to instantiate a lead raster object.

Creating an instance of the COM component with CLSID {00140700-B1BA-11CE-ABC6-F5B2E79D9E3F} from the IClassFactory failed due to the following error: 80040112.

The problem goes away if i install the full leadtools 14.5 sdk, but persists if i don't. I've tried packaging every single dll in the redist folder but cannot get rid of the error.

Is there something i'm missing here? From what i can tell from the documentation, the only com dll's i need to include are ltr14n, ltrio14n, ltrpr14n and ltrvr14n (apart from the filters).

Are there any other dll's i should be including? I simply cannot find the missing one to include.
   Report 
  12-02-2007, 11:58
Adam Boulad is not online. Last active: 11/13/2008 4:54:42 PM Adam Boulad



Top 10 Posts
Joined on 09-16-2007
Posts 490
Re: help needed with files to include
Reply Quote

Paul,

This error is mostly related to how your program creates our COM objects.

If you create the objects dynamically (for example using CreateObject), creating them will NOT work, because some of our objects are licensed.

You need to pass the license information to our object during creation. To do that, you can use our LEADRasterFactory object as shown in this forum post:

http://support.leadtools.com/SupportPortal/cs/forums/7964/ShowPost.aspx#7964
Adam Boulad
LEADTOOLS Technical Support

   Report 
  12-03-2007, 5:41
paul@onpix.com is not online. Last active: 11/29/2007 5:41:35 AM paul@onpix.com

Top 500 Posts
Joined on 09-14-2004
Posts 11
Re: help needed with files to include
Reply Quote
doh - works a treat.
   Report 
  06-09-2008, 9:13
pmarazzi@mutuionline.it is not online. Last active: 10/2/2008 2:53:25 PM pmarazzi@mutuionline.it

Top 150 Posts
Joined on 11-29-2004
Posts 20
Re: help needed with files to include
Reply Quote
<BLOCKQUOTE><table width="85%"><tr><td class="txt4"><img src="/SupportPortal/cs/Themes/default/images/icon-quote.gif">&nbsp;<strong>Adam Boulad wrote:</strong></td></tr><tr><td class="quoteTable"><table width="100%"><tr><td width="100%" valign="top" class="txt4"><p class="MsoNormal"><span>Paul,<br></span></p><p class="MsoNormal"><span>This error is
mostly related to how your program creates our COM objects.<o:p></o:p></span></p>



<p class="MsoNormal"><span>If you
create the objects dynamically (for example using CreateObject), creating them
will NOT work, because some of our objects are licensed.<o:p> <br></o:p></span></p>

<p class="MsoNormal"><span>You need to
pass the license information to our object during creation. To do that, you can
use our LEADRasterFactory object as shown in this forum post:<o:p></o:p></span></p>

<span><a HREF="/SupportPortal/cs/forums/7964/ShowPost.aspx#7964">http://support.leadtools.com/SupportPortal/cs/forums/7964/ShowPost.aspx#7964</a> </span></td></tr></table></td></tr></table></BLOCKQUOTE>

Hi, I've Raster Imaging Pro .net 14.5: with barcode control,

when I reach the following statement:

LTBARLib.LEADBarCode leadBarCode = new LEADBarCode();

it shows the error


Creating an instance of the COM component with CLSID {00140700-B1BA-11CE-ABC6-F5B2E79D9E3F} from the IClassFactory failed due to the following error: 80040112.

The problem goes away if i install the full leadtools 14.5 sdk, but persists if i don't. I've tried packaging every single dll in the redist folder but cannot get rid of the error.

I've read the solution above but it is for LTRASTERLib.LEADRaster, instead I need the solution for the LTBARLib.LEADBarCode , I don't know the correct string, because "LEADRaster.LEADRaster.140" doesn't work,

please could you give me the correct instructions?

Thanks

   Report 
  06-10-2008, 10:40
Adam Boulad is not online. Last active: 11/13/2008 4:54:42 PM Adam Boulad



Top 10 Posts
Joined on 09-16-2007
Posts 490
Re: help needed with files to include
Reply Quote

The easiest solution is to add the barcode control to the control box in Visual Studio and draw it on a form. If you do that, the license string for the control is automatically added to your application's EXE, and creation should work on any machine (after you deploy and register the barcode control, of course).


Adam Boulad
LEADTOOLS Technical Support

   Report 
Post
LEAD Support Fo... » Developer » Image Processin... » help needed with files to include

Powered by Community Server, by Telligent Systems