RecipePreviewHandler示例无法正常工作 [英] RecipePreviewHandler sample not working

查看:109
本文介绍了RecipePreviewHandler示例无法正常工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我正在尝试使用SDK中的RecipePreviewHandler示例构建自定义预览处理程序。我没有遇到任何问题,但不幸的是它根本没有显示任何预览。预览窗格保持为空(文本"无预览可用"消息)。
有没有人有预览处理程序的经验(不使用托管代码)。有没有人试图编译这个例子?

编辑:
我通过将预览处理程序集成到一个小测试应用程序中来测试它。我能够查询所需的接口(IPreviewHandler,IInitializeWithStream),它工作正常。也许在Windows注册表中注册有一些错误。有任何想法吗?有谁知道prevhost.exe在内部做什么?

谢谢!
Steffen

Hi,

I'm trying to build a custom preview handler using the RecipePreviewHandler sample from the SDK. I had no problems building it but unfortunately it is not showing any preview at all. The preview pane just stays empty (the text "no preview available" disappers).
Does anyone have any experience with preview handlers (not using managed code). Has anyone tried to compile the example?


I tested the preview handler by integrating it in a small test app. I was able to query for the needed interfaces (IPreviewHandler, IInitializeWithStream) and it was working fine. Maybe there is some error with the registration in the windows registry. Any ideas? Does anyone know what prevhost.exe does internally?

Thanks!
Steffen

推荐答案

Hi Steffend1,

 

我刚刚尝试构建Windows SDK for Windows 7中附带的RecipePreviewHandler示例。  我使用Visual Studio 2008在Windows 7和Vista上构建时获得了相同的结果。  我不确定问题是什么。  我会将提交此示例的群组联系到Windows SDK,看看是否有人可以帮助您。  请给我几天。

I just tried building the RecipePreviewHandler sample that shipped in the Windows SDK for Windows 7.  I had the same result that you reported here, when building on Windows 7 and also on Vista, using Visual Studio 2008.  I’m not sure what the problem is.  I’ll contact the group that submitted this sample to the Windows SDK and see if someone there can help you.  Please give me a few days.

< span style ="color:#984806; mso-themecolor:accent6; mso-themeshade:128;">  

您是否正在为64位目标构建示例?

 

- Karin

Windows SDK

Windows SDK

 

|| Karin  Meier || 项目经理 || Windows C ++团队 ||

||Karin Meier|| Program Manager||Windows C++ Team||


这篇关于RecipePreviewHandler示例无法正常工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆