I've made app with TV3D 6.5 (Using library MTV3D65.DLL)
All written in visual basic .net
I copied it to another machine and all worked successfully.
Files MyApp.exe and MTV3D65.DLL were in same directory.
Then I realised I should add some sound... I added references:
- Direct 8 for Visual basic Type library
- TV3D SDK 6.1 - TV3D Media
I inited sound engine, all worked fine again...
In directory with EXE and DLL were added these files:
Interop.DxVBLibA.dll
Interop.TV3DMedia.dll
Part of source code:
Dim sound As TV3DMedia.TVSoundEngine
sound = New TV3DMedia.TVSoundEngine
sound.Init()
Dim soubor As TV3DMedia.TVSoundMP3
soubor = New TV3DMedia.TVSoundMP3
soubor.Load(slozka & "\1.mp3")
soubor.Play()
I copied dir with these files to another pc
MyApp.exe
MTV3D65.DLL
Interop.DxVBLibA.dll
Interop.TV3DMedia.dll
Executed MyApp.exe and this error was on screen
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.Runtime.InteropServices.COMException (0x80040154): COM object with CLSID {12F2311F-94FF-4E7E-AA4E-12246D69F6BF} is either not valid or not registered.
at _3Darena.frmArena.frmArena_Load(Object sender, EventArgs e) in D:\Visual Basic\3Darena\frmArena.vb:line 78
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2407
CodeBase: file:///c:/windows/microsoft.net/framework/v1.1.4322/mscorlib.dll
----------------------------------------
3Darena
Assembly Version: 1.0.2979.33697
Win32 Version: 1.0.2979.33697
CodeBase: file:///D:/bin/3Darena.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
CodeBase: file:///c:/windows/assembly/gac/system.windows.forms/1.0.5000.0__b77a5c561934e089/system.windows.forms.dll
----------------------------------------
System
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2407
CodeBase: file:///c:/windows/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll
----------------------------------------
System.Drawing
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
CodeBase: file:///c:/windows/assembly/gac/system.drawing/1.0.5000.0__b03f5f7f11d50a3a/system.drawing.dll
----------------------------------------
MTV3D65
Assembly Version: 6.5.2823.21213
Win32 Version:
CodeBase: file:///D:/bin/MTV3D65.DLL
----------------------------------------
Interop.TV3DMedia
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///D:/bin/Interop.TV3DMedia.DLL
----------------------------------------
Microsoft.VisualBasic
Assembly Version: 7.0.5000.0
Win32 Version: 7.10.6001.4
CodeBase: file:///c:/windows/assembly/gac/microsoft.visualbasic/7.0.5000.0__b03f5f7f11d50a3a/microsoft.visualbasic.dll
----------------------------------------
************** JIT Debugging **************
To enable just in time (JIT) debugging, the config file for this
application or machine (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the machine
rather than being handled by this dialog.
Please, Can anybody help me, what can I do?