clsid

Does GDI+ have standard image encoder CLSIDs?

你。 提交于 2019-11-26 17:01:40
问题 The GDI+ Image::Save method requires a CLSID parameter to specify the encoder to use. The documentation points to some sample code for getting the encoder associated with a particular MIME type, such as image/jpeg or image/png. However I'm balking at the thought of copying a half-page function just to support a 1-line debugging aid where I save an intermediate result out to disk. Shouldn't there be a list of standard CLSIDs for the standard encoders? Where would I find such a list? I haven't

Windows 64-bit registry v.s. 32-bit registry

对着背影说爱祢 提交于 2019-11-26 07:25:36
问题 I heard on Windows x64 architecture, in order to support to run both x86 and x64 application, there is two separate/different sets of Windows registry -- one for x86 application to access and the other for x64 application to access? For example, if a COM registers CLSID in the x86 set of registry, then x64 application will never be able to access the COM component by CLSID, because x86/x64 have different sets of registry? So, my question is whether my understanding of the above sample is