PDA

View Full Version : Strange problem with ICCompressorChoose


R3g
23rd November 2002, 20:56
Well, this may be a little out of topic here, but I didn't get any answer in other places.
I'm working on a little avs2avi-like program, with a mfc GUI.
My problem is that I wanted to enable WindowsXP visual themes support by adding a manifest in my resource file.
It works perfectly, at least for the styles, but when ICCompressorChoose get called and the window pops up, there isn't any codec in the coice list, only "uncompressed frames".
I know that problem is very weird, and actually not very important, but I'm wondering what can happen...

[Toff]
23rd November 2002, 21:49
It works perfectly, at least for the styles, but when ICCompressorChoose get called and the window pops up, there isn't any codec in the coice list, only "uncompressed frames".


I have just tried your program.
I get the same problem under win2k, there is no codec in list :(

How do you call ICCompressorChoose ?
Do you open the avs first to get the format used ?

R3g
24th November 2002, 12:09
Originally posted by [Toff]
I have just tried your program.
I get the same problem under win2k, there is no codec in list :(

How do you call ICCompressorChoose ?
Do you open the avs first to get the format used ?
Ouch ! Stranger than ever, it works for me on WinXP :scared:

Well, in fact, I call ICCompressorChoose with the ICMF_CHOOSE_ALLCOMPRESSORS set, because I didn't really know how the pvIn parameter should like. So in theory, the window should display all codecs, and that's what happen on my box. Do you think it might be the problem ?

Edit : OK, I just watch your avs2avi source and saw the pvIn is just a pointer to the bmih struct. I'll try that ASAP.