deleted_account
Member
- Joined
- Feb 16, 2011
- Messages
- 9
- Programming Experience
- Beginner
Hello,
Ive been looking whole google for my problem and find a few awnsers like disable the mda in the debug exceptions but none solved my problem.
Im working with Visual Studio 2010 Professional
Piece of the code:
Now the problem occures at the "Dim videoFile As New Microsoft.DirectX.AudioVideoPlayback.Video(fileName:=".\movies\test.avi")" part.
The error im getting is this:
Hope I've provided enough information, if not, please ask.
Thanks for helping
Ive been looking whole google for my problem and find a few awnsers like disable the mda in the debug exceptions but none solved my problem.
Im working with Visual Studio 2010 Professional
Piece of the code:
VB.NET:
Imports System.Configuration
Imports Microsoft.DirectX.AudioVideoPlayback
---- ive cut the main part out of this code ----
Public Class Game
Public Sub New()
Dim videoFile As New Microsoft.DirectX.AudioVideoPlayback.Video(fileName:=".\movies\test.avi")
videoFile.Owner = ArtificialLife.GamePanel
videoFile.Play()
End Sub
End Class
Now the problem occures at the "Dim videoFile As New Microsoft.DirectX.AudioVideoPlayback.Video(fileName:=".\movies\test.avi")" part.
The error im getting is this:
VB.NET:
(rough google translation dutch - english)
LoaderLock was detected:
Message: Trying dll C:\Windows\assembly\GAC\Microsoft.DirectX\1.0.2902.0__31bf3856ad364e35\Microsoft.DirectX.dll to introduce guidance inside OS Loader lock. Do not attempt to execute code with guidance within a DllMain or pictureinitialisationfunction, because this application may crash.
Hope I've provided enough information, if not, please ask.
Thanks for helping