Log in

View Full Version : ICM_GETSTATE problem with VB6


Sephiros
29th April 2003, 18:27
Hello all!

I tried to use ICM_GETSTATE in VB (SP5) and it crashes bad. I have no problems to use the ICM_CONFIGURE (as described here: http://forum.doom9.org/showthread.php?s=&threadid=51562), but how can I get the codec configuration if ICM_GETSTATE crashes?

I tired to look in the DVX source, and didn't find how they retreive the informations from the codec.

Thanks,

Pat

stax76
29th April 2003, 20:04
I tired to look in the DVX source, and didn't find how they retreive the informations from the codec


DVX reads the registry key of the codec and saves everything in a hash table, before starting a pass it saved the key back. If you want your program to work with different codec builds and versions and also change the pass and bitrate etc. then it's the only way

Sephiros
29th April 2003, 21:13
Originally posted by Dolemite
it's the only way


Aaah crap I knew it :rolleyes:. Ok thanks for this quick answer Dolemite :)