directx 9.0c audiovideoplayback not working

nobilese

Newcomer
Joined
Mar 27, 2005
Messages
3
I wrote a small application awhile ago that used the audiovideoplayback to play audio and video files. Basically, i had some simple code, like:

Dim lVideo as New Video("filename", false)
lVideo.owner = myForm
lVideo.play()

This worked well...

I recently upgraded to dx9.0c and also reinstalled the system, but the owner
property is not setting on code above.

A new video window is created and the video is played in that...

This is driving me nuts...this app has been working for 2 years...
 
That piece of code works perfectly for me. Are you sure you are not setting the owner to some other window you created, and as a result it pops up with the video?
 
mutant said:
That piece of code works perfectly for me. Are you sure you are not setting the owner to some other window you created, and as a result it pops up with the video?

I created a app with a single form and he code above is all there is...
This worked previously in another app and stopped working...

I'm must not have something installed right, but microsoft makes upgrades as clear as mud...

Something is missing and i just can't figure out what...
 
mutant said:
If that is the exact code you have in your project, what does the myForm variable refer to?

filename is the filename of an existing file
myForm is really Me

the code is in the form_load
 
Back
Top