hswear3

I have an audio application that was orginally written in VB6 years ago. I've converted and modified it to VB 2005, and it runs fine on both the 32 and 64 bit versions of Windows XP. But it will not run at all on Windows Vista, although the VB6 version runs fine.

The error I get is that a reference cannot be created to quartz.dll (ActiveMovie control type library). The file is definitely on Vista and it works with VB6, so I don't understand this. I know the API has been depreciated, and eventually I want to replace it with something else (MCI maybe, Windows Media Player won't work because I'm doing overlapped audio).

I hope this is the right place to ask this question. It's not specific to VB, it won't work with C# either.




Re: DirectShow Development Vista: Can't reference ActiveMovie control type library (quartz.dll)

LGS

I'm not sure why that might be. I know that quartz.dll works in vista. However, I don't use it thru IDispatch (which is what I assume you are doing).

For vb.net and c# access to DS, you might consider http://DirectShowNet.SourceForge.net.

---

Co-Author DirectShowNet





Re: DirectShow Development Vista: Can't reference ActiveMovie control type library (quartz.dll)

hswear3

Thank you very much for the link to SourceForge. I'm only using these interfaces:

IMediaControl

IMediaPosition

IBasicAudio

IMediaEvent

They are all listed as tested and working in the SourceForge library. There's a C# sample too for playing audio files which is all I am doing. I'm going to give that library a shot. Thanks again.