crashes during the call to set media type. pGrabber is valid from a previous call. The problem is I dont even get the report of FAILED. It literally crashes during the call.
this->MediaType.majortype = MEDIATYPE_Video;
this->MediaType.subtype = MEDIASUBTYPE_RGB24;
this->MediaType.formattype = FORMAT_VideoInfo;
hr = this->pGrabber->SetMediaType(&this->MediaType);
This might be associated with my using 2008 express and having to put in the MS recommended hack for Qedit.h, so i will try compiling it under codeblocks or something if I get time to install it. If I just skip setting the media type, then it works fine, but this same code works fine when compiled under 2005 (full version). Right now I am workign with a cheap camer that only supports 24 bit so its not an issue, but I plan on gettign a better camera that supports more fromats, so I need to be able to set the mediatype