If I understand this correctly, when you play a file through your own
application, you get memory leaks but when you play the same file through the
sample CEPlayer on Windows CE, you do not get memory leaks. If that is true
then you are not releasing all the interfaces in your application.
If you use debug version of quartz.dll then upon closing your application,
you will get a dump of all unloaded DShow components/interfaces in the output
window. This should give you some clues of where to look for the leak.
Thanks
Saad Puri
AOMATA LLC. | www.aomataconsulting.com