Distribution question
Started by mmtech at 03-28-2008 8:32. Topic has 10 replies.
|
|
03-28-2008, 8:32
|
mmtech
Joined on 08-06-2007
Posts 7
|
|
|
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

Joined on 08-22-2007
Posts 371
|
Re: Distribution question
|
 
 
|
|
|
Have you tried placing ltkrn15u.dll in the working directory of the exe?
LEADTOOLS Technical Support
|
|
|
|
|
Report
|
|
|
|
03-28-2008, 13:06
|
mmtech
Joined on 08-06-2007
Posts 7
|
Re: Distribution question
|
 
 
|
|
|
I just tried that and that didn't work either :-(
|
|
|
|
|
Report
|
|
|
|
03-28-2008, 16:10
|
jigar

Joined on 08-22-2007
Posts 371
|
Re: Distribution question
|
 
 
|
|
|
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
Joined on 08-06-2007
Posts 7
|
Re: Distribution question
|
 
 
|
|
|
Here's the vbCallback.exe - its just what came with the 15.1 SDK
|
|
|
|
|
Report
|
|
|
|
03-28-2008, 16:45
|
mmtech
Joined on 08-06-2007
Posts 7
|
Re: Distribution question
|
 
 
|
|
|
Trying the attachment again with ext extension.
|
|
|
|
|
Report
|
|
|
|
03-31-2008, 10:02
|
mmtech
Joined on 08-06-2007
Posts 7
|
Re: Distribution question
|
 
 
|
|
|
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

Joined on 08-22-2007
Posts 371
|
|
|
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
Joined on 08-06-2007
Posts 7
|
Re: Distribution question
|
 
 
|
|
|
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

Joined on 08-22-2007
Posts 371
|
Re: Distribution question
|
 
 
|
|
|
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
|
|
|
|
|
LEAD Support Fo... » Developer » Multimedia Filt... » Distribution question
|
|
Copyright LEAD Technologies, Inc. 2008
