This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Tuesday, November 30, 2010 11:51:18 PM(UTC)
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):
#2
Posted
:
Wednesday, December 1, 2010 4:43:25 AM(UTC)
Groups: Guests
Posts: 3,022
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)
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)
Groups: Guests
Posts: 3,022
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)
Groups: Registered
Posts: 3
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.