This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Friday, May 31, 2013 5:36:16 AM(UTC)
Groups: Registered
Posts: 1
Hello,
I am evaluating Mudlitmedia SDK v18 on a Windows 7 (64 Bit but the application is 32 Bit) .
Now I want to test the application on another PC than the development PC.
The programm (should play only one wmv file and then dispose and start again) looks like that:
using Leadtools.MediaFoundation;
PlayCtrl playCtrl = new PlayCtrl();
playCtrl.Location = new Point(posx,posy);
playCtrl.Size = new System.Drawing.Size(x, y);
playCtrl.SourceFile = @link;
playCtrl.StateChanged += new Leadtools.MediaFoundation.StateChangedEventHandler(PlayCtrl_StateChanged);
playCtrl.AutoRewind = true;
playCtrl.AutoStart = true;
Controls.Add(playCtrl);
playCtrl.Run();
And in the Dispose:
PlayCtrl m_vid = (PlayCtrl)lead_control;
m_vid.Dispose();
When I start the program I get the error: "LTMF Error: Class not registered".
What exactly is needed? It is working with the development PC.
I already read the help file but the files mentioned there are already in the same directory of the exe.
I already copied following files in the application directory:
AxInterop.MSComctlLib.dll
AxInterop.MSComDlg.dll
Interop.LMAACEncoderLib.dll
Interop.LMACallbackLib.dll
Interop.LMAMREncoderLib.dll
Interop.LMDSKernelLib2.dll
Interop.LMDVRSinkLib.dll
Interop.LMH263EncoderLib.dll
Interop.LMH264EncoderLib.dll
Interop.LMIsoMuxLib.dll
Interop.LMMETAINFOLib.dll
Interop.LMMP4EncoderLib.dll
Interop.LMMPEG2EncoderLib.dll
Interop.LMMpg2MxTLib.dll
Interop.LMMpgDmxTLib.dll
Interop.LMNetDmxLib.dll
Interop.LMNetMuxLib.dll
Interop.LMNetSnkLib.dll
Interop.LMVCallbackLib.dll
Interop.LMVDeinterlaceLib.dll
Interop.LMVFrameRateCtrlLib.dll
Interop.LMVP8EncoderLib.dll
Interop.LMVResizeLib.dll
Interop.LTDVDWriterLib.dll
Interop.LTESWriterLib.dll
Interop.LTStlImgRdLib.dll
Interop.MSComctlLib.dll
Interop.MSComDlg.dll
Leadtools.MediaFoundation.dll
Leadtools.MediaWriter.dll
Leadtools.Multimedia.dll
LMFAVol.dll
LMMFOGGSource.dll
ltmf18.dll
ltmm18.dll
mfc100.dll
mfc100u.dll
mfcm100.dll
mfcm100u.dll
msvcp100.dll
msvcr100.dll
stdole.dll
Any help is appreciated.
Thanks in advance
#2
Posted
:
Sunday, June 2, 2013 4:03:11 AM(UTC)
Groups: Registered, Tech Support
Posts: 1,326
Was thanked: 1 time(s) in 1 post(s)
If you are deploying your application, you should deploy the Interop DLL in the same folder that contains the application's Exe. Also, you should copy and register the actual LEADTOOLS COM DLL (For example, "LMVRsz2.DLL" file (LEAD Video Resize Filter)) to the system32 folder (If you are using 32-bit operating system). Note that if you are using a 64-bit operating system, you need to copy the DLL to the Windows\SysWow64 folder and register it by using the RegSvr32.EXE that exists in SysWOW64 folder. Before you run the register command, either run the command prompt itself by right-clicking its shortcut and choosing "Run As Administrator...", or put the register command in a .BAT file and run the batch file as Admin.
Thanks,
Maen Badwan
LEADTOOLS Technical Support
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.