Welcome Guest! To enable all features, please Login or Register.

Notification

Icon
Error

Options
View
Last Go to last post Unread Go to first unread post
#1 Posted : Tuesday, November 30, 2010 11:51:18 PM(UTC)
shaulbehr

Groups: Registered
Posts: 3


I'm using the LeadTools capture control in my, which works perfectly in my Dev environment.

When it's deployed as a ClickOnce app, however, it bombs out with the attached error.

What must I do to fix this?
shaulbehr attached the following image(s):
ClickOnce error.jpg
 

Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

#2 Posted : Wednesday, December 1, 2010 4:43:25 AM(UTC)

Basel  
Guest

Groups: Guests
Posts: 3,028

Was thanked: 2 time(s) in 2 post(s)

You will need to copy LTMM1*.DLL and DSKernel2.DLL and register them both using RegSvr32.EXE.
Since these DLLs contain ActiveX and COM objects, there can only be one copy of them on the PC, so you should place them both in the Windows\System32 folder if you're using a 32-bit version of Windows, or Windows\SysWow64 if you are using a 64-bit machine.

You should do the same with other DLLs if you are using them.

Also, make sure you set your application to run as x86 (or x64 if you are using 64bit DLLs) but not Any CPU.

 
#3 Posted : Wednesday, December 1, 2010 6:24:26 AM(UTC)
shaulbehr

Groups: Registered
Posts: 3


Thanks Basel,
But how can I tell my customers that they've got to get down & dirty, copying DLLs manually into their system folders? Surely the ClickOnce app should install that stuff automatically?
 
#4 Posted : Thursday, December 2, 2010 5:55:16 AM(UTC)

Basel  
Guest

Groups: Guests
Posts: 3,028

Was thanked: 2 time(s) in 2 post(s)

You should not tell the customer to register the files. You should be able to do that in your installer.
I'm not sure how to register the COM components in ClickOnce, but I found this topic:
http://msdn.microsoft.com/en-us/library/ms165432%28VS.80%29.aspx
 
#5 Posted : Thursday, December 2, 2010 7:00:16 AM(UTC)
shaulbehr

Groups: Registered
Posts: 3


Thank you!
 
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF.NET | YAF.NET © 2003-2020, Yet Another Forum.NET
This page was generated in 0.124 seconds.