2010-06-03 66 views
0

嗨我试图将我的应用程序从Windows Vista移植到Windows 7. 在我的WPF应用程序中,我显示了一个启动画面,为此我使用了WIC组件。 我创建使用MilCore.dll提供的MilRelease api的替代选择是什么?

IWICImagingFactory_CreateDecoderFromStream_Proxy IWICImagingFactory_CreateFormatConverter_Proxy CreateBitmapFlipRotator

一些资源,然后释放这些资源我打电话

MILRelease(void *的未知)

在Windows 7 MilCore.dll有已从Windows 7中删除,并且MILRelease是milcore.dll的一部分。什么是我可以使用的替代API?通过

IWICImagingFactory_CreateDecoderFromStream_Proxy IWICImagingFactory_CreateFormatConverter_Proxy CreateBitmapFlipRotator

创建

+0

为什么你不能使用实际的WIC的API(如IWICImagingFactory :: CreateDecoderFromStream(http://msdn.microsoft.com/en-us/library/ee690309(VS.85).aspx) ? – 2010-06-05 03:37:43

+0

我不确定,这段代码已经写好了,我只是试图将它移植到windows 7中。有一件事是,代码是用C#编写的,并且使用PInvoke API已经调用过,我不确定PInvoke是否有任何东西与这些被调用的函数有关。 – Anand 2010-06-09 11:23:11

回答

相关问题