Welcome to LEAD Support Forum Login | Register | Faq  

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

Distribution question
Started by mmtech at 03-28-2008 8:32. Topic has 10 replies.

Print Search « Previous Thread Next Thread »
  03-28-2008, 8:32
mmtech is not online. Last active: 4/10/2008 2:15:56 PM mmtech

Top 500 Posts
Joined on 08-06-2007
Posts 7
Distribution question
Reply Quote
Hi,

Sorry this is a cross-post - I had emailed support earlier but I have not gotten the answer that helps me...

I am using the latest LTMM15.1 library - using VB6 and COM objects. I wrote a capture application using callback filters to show a picture in picture. the implementation is based on the vbCallback sample project.

I am using API calls like L_CreateBitmap, LSetBitmapDataPointer, LCombineBitmap etc. to achieve this in the ReceiveProc subroutine.

The program works fine on the development computer. On the client computer I get Runtime error '48' File not found: LTKRN15u - I traced it down to the L_CreateBitmap function.

I tried running the vbCallback.exe program on the client computer and get the same error.

I have copied the following files to C:\Windows\System32 and still get the above error

ltkrn15u.dll
ltimgefx15u.dll
ltimgsfx15u.dll
ltdis15u.dll
ltimgutl15u.dll
ltmm15.dll
dskernel2.dll

The last two dlls I register using the InstallShield distribution program.

What am I missing?

Thanks for your help.

Manish
   Report 
  03-28-2008, 12:44
jigar is not online. Last active: 7/24/2008 12:12:53 PM jigar



Top 10 Posts
Joined on 08-22-2007
Posts 371
Re: Distribution question
Reply Quote
Have you tried placing ltkrn15u.dll in the working directory of the exe?

LEADTOOLS Technical Support
   Report 
  03-28-2008, 13:06
mmtech is not online. Last active: 4/10/2008 2:15:56 PM mmtech

Top 500 Posts
Joined on 08-06-2007
Posts 7
Re: Distribution question
Reply Quote
I just tried that and that didn't work either :-(
   Report 
  03-28-2008, 16:10
jigar is not online. Last active: 7/24/2008 12:12:53 PM jigar



Top 10 Posts
Joined on 08-22-2007
Posts 371
Re: Distribution question
Reply Quote
Can you attach the vbCallback.exe file.  I want to test it here on our test machines.

LEADTOOLS Technical Support
   Report 
  03-28-2008, 16:43
mmtech is not online. Last active: 4/10/2008 2:15:56 PM mmtech

Top 500 Posts
Joined on 08-06-2007
Posts 7
Re: Distribution question
Reply Quote
Here's the vbCallback.exe - its just what came with the 15.1 SDK
   Report 
  03-28-2008, 16:45
mmtech is not online. Last active: 4/10/2008 2:15:56 PM mmtech

Top 500 Posts
Joined on 08-06-2007
Posts 7
Re: Distribution question
Reply Quote
Trying the attachment again with ext extension.
   Report 
  03-30-2008, 8:01
Adam Boulad is not online. Last active: 7/23/2008 4:14:05 PM Adam Boulad



Top 10 Posts
Joined on 09-16-2007
Posts 406
Re: Distribution question
Reply Quote

Manish,
To run our vbCallback demo, you need to register the following LEADTOOLS files:
DSKernel2.dll
Ltdlgkrn15u.dll
LMVCalBk2.dll
 
You also need to copy, but not register, Ltkrn15u.dll

From non-LEAD files, you will need these:
MSCOMCTL.OCX
Comdlg32.ocx
msvcr80.dll
msvcp80.dll
mfc80u.dll
MFC80ENU.dll


Adam Boulad
LEADTOOLS Technical Support

   Report 
  03-31-2008, 10:02
mmtech is not online. Last active: 4/10/2008 2:15:56 PM mmtech

Top 500 Posts
Joined on 08-06-2007
Posts 7
Re: Distribution question
Reply Quote
I tried that.. and I still get the Error 48 File not found: LTKRN15U

In addition to the files you mention I also copied ltmm15.dll from the Redist\MM folder. MSComctl.ocx and comdlg32.ocx already existed on that computer.

Ltdlgkrn15u cannot be registered using regsvr32 - I get an error LoadLibrary("filename") failed - This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem.

The other samples seem to work - for example vbCapture.exe

Quite bizzare!
   Report 
  03-31-2008, 10:14
jigar is not online. Last active: 7/24/2008 12:12:53 PM jigar



Top 10 Posts
Joined on 08-22-2007
Posts 371
Re: Distribution question

Attachment: vcredist_x86.zip
Reply Quote
I think we've found the problem.  It's giving the configuration error, which is caused by not having the proper manifest files.  Run the attached file on the target machine and try to register the file again.  Then try to run the program.

LEADTOOLS Technical Support
   Report 
  03-31-2008, 11:23
mmtech is not online. Last active: 4/10/2008 2:15:56 PM mmtech

Top 500 Posts
Joined on 08-06-2007
Posts 7
Re: Distribution question
Reply Quote
Thanks!!

Running the VCRedist worked! Now the vbCallback.exe works and so does my program. I still could not register the ltDlgkrn15u - it says Library loaded but could not register file - no dll entry point found.

In any case, thanks for your help. I will add the vcredist file to my distribution.

Best regards,
Manish
   Report 
  03-31-2008, 11:50
jigar is not online. Last active: 7/24/2008 12:12:53 PM jigar



Top 10 Posts
Joined on 08-22-2007
Posts 371
Re: Distribution question
Reply Quote
ltDlgkrn15u.dll doesn't need to be registered.  You just need the file in the system PATH or the PWD.

Good to hear that it's working now :).

LEADTOOLS Technical Support
   Report 
Post
LEAD Support Fo... » Developer » Multimedia Filt... » Distribution question

Powered by Community Server, by Telligent Systems