Original Post
Hi there! This little nuisance has bothered me for quite some time now - it's regarding a heap corruption (?) when I use DirectShow. The graph seem to build just fine (looks just fine using GraphEdit), it's not until I call m_pGB->Render that I get four popups about the program triggering a breakpoint, possibly due to heap corruption. If I chose to "continue" through those four popups, the video renders just fine as it should. The same error also applies to a simple m_pGB->RenderFile, which I tested to make sure it wasn't somewhere in my graph setup. Has anyone got any idea whatsoever about what could be causing this? I'm using Microsoft Platform SDK for Windows Server 2003 R2 (and VStudio 2005) and have compiled the DirectShow baseclasses myself. (this is where I'm thinking it might originate) When I compile using nmake the release version (strmbase.lib) is roughly 1.2 MB, but if I add the files myself to a solution and make a lib out of it, it becomes roughly 22 MB! (I'm recompiling it via VStudio in order to set the Character Set to "not set" instead of Unicode). Any hints would be appreciated, as everything works just fine - apart from those four popups about possible heap corruption.