ITeye博客

C++检测flash player 版本

noahgenius · 2009-11-04 08:50 · Markdown

在win32环境下,需要通过查找注册表来识别flash player插件的版本号: /************************************************************************/ /* check flash version if it's 9.0 or higher */ /************************************************************************/ BOOL checkFlashActivexVersion() { HKEY hkey = NULL; // if register do not have flash activex key if (isKeyExists(HKEY_LOCAL_MACHINE, TEXT("SOFTWARE\\Macromedia\\FlashPlayer"), &hkey)) { BYTE keyvalue[128]; DWORD valuelength [...]

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。