firebreath

CMake says c compiler is broken

十年热恋 提交于 2019-12-22 15:26:15
问题 I've just attempted to use Firebreath and have followed their video tutorial for Windows and come across the error that says: Check for working C compiler using Visual Studio 10 -- broken And then says: It fails with following output: Change Dir: And then lists the drive. This happens when running prep2010.cmd. I have found a post about it, but the forums won't let me log in and there is no answer. It's here: http://forum.firebreath.org/topic/274/?page=1#post-1117 and is exactly the same

CMake says c compiler is broken

随声附和 提交于 2019-12-22 15:25:45
问题 I've just attempted to use Firebreath and have followed their video tutorial for Windows and come across the error that says: Check for working C compiler using Visual Studio 10 -- broken And then says: It fails with following output: Change Dir: And then lists the drive. This happens when running prep2010.cmd. I have found a post about it, but the forums won't let me log in and there is no answer. It's here: http://forum.firebreath.org/topic/274/?page=1#post-1117 and is exactly the same

How to write a web browser plugin for IE, Firefox and Chrome

廉价感情. 提交于 2019-12-20 02:33:14
问题 I need to write a web browser plugin that supports IE 7+, Firefox 3+, Chrome. This plugin has to be able to place a DirectX object in a web page. I have no experience with plugins. I did some investigating and decided to do it with FireBreath. I couldn't understand the way to place an image inside the plugin area. Can someone provide example? How do I place a DirectX object there? Any example? How do I trigger automatic installation? Thanks! Sara 回答1: Well, there are two problems you have to

How to open a file which includes in Chrome extension by C/C++?

只谈情不闲聊 提交于 2019-12-19 12:55:22
问题 I'm trying to open a file to parse, say "config.txt", in my Chrome extension. By Javascript it will be fairly easy. For example: chrome.extension.getURL('config.txt') will get something like chrome-extension://kfcphocilcidmjolfgicbchdfjjlfkmh/config.txt . However, in the C++(or C) code of the extension, open a file by this kind of URL is not available. Is there any way to open a file in extension in this case? 回答1: There are two ways you could address this; the first is to simply use

How to open a file which includes in Chrome extension by C/C++?

有些话、适合烂在心里 提交于 2019-12-19 12:55:21
问题 I'm trying to open a file to parse, say "config.txt", in my Chrome extension. By Javascript it will be fairly easy. For example: chrome.extension.getURL('config.txt') will get something like chrome-extension://kfcphocilcidmjolfgicbchdfjjlfkmh/config.txt . However, in the C++(or C) code of the extension, open a file by this kind of URL is not available. Is there any way to open a file in extension in this case? 回答1: There are two ways you could address this; the first is to simply use

Firebreath plugin not loading in IE 10

时光毁灭记忆、已成空白 提交于 2019-12-12 21:09:43
问题 EDIT: See end of post for more information. I am trying to to get plugins created via the Firebreath framework (1.7.0) to load. I am on Windows 8 in Desktop Mode using Internet Explorer 10. I've reproduced this with the built-in test FBTtestPlugin that comes with Firebreath. The failure is silent in that the object element is created, but fails to have any properties specified by the plugin. How does one go about debugging this? The Microsoft Internet Explorer Compatibility Tool reports that

Create an msi package which installs both 32-bit and 64-bit resources on a machine

☆樱花仙子☆ 提交于 2019-12-12 16:25:03
问题 I need to create an MSI package which installs both 32-bit and 64-bit .dll files of a firebreath based plugin on a machine. What I want to achieve is have both resources installed and use the one suitable depending on the Browser (32-bit or 64-bit). For instance, if I have a 64-bit machine with Windows, Chrome 64-bit and Firefox 32-bit; I want to be able to use my plugin from both browsers. To do so, I am using Visual Studio 2008 and Wix. Up to now I was able to create a 32-bit .dll which is

FireBreath FB::PluginWindowWin include problem

痴心易碎 提交于 2019-12-12 05:42:52
问题 I tried to follow the steps in the answer of Directx control in browser plugin but when I added the solution mentioned in http://colonelpanic.net/2010/11/firebreath-tips-drawing-on-windows/ FireBreath Tips: Drawing on Windows "1.Make your plugin object windows specific change the type of the event source specified in EVENTTYPE_CASE to FB::PluginWindowWin (as well as the type in the handlers) and you will have your object cast in the way you need it." I got 119 errors, all are in winsock2.h

Heat.exe: 64-bit .dll fails to be converted to a 64-bit .msi

拟墨画扇 提交于 2019-12-12 04:50:57
问题 I tried to generate a 64-bit FireBreath MSI installer using heat.exe but got the following output: heat.exe : warning HEAT1108 : The command line switch 't:' is deprecated. Please use 't' instead. heat.exe : warning HEAT5150 : Could not harvest data from a file that was expected to be a SelfReg DLL: C:\Users\firebreath-master\buildPlugin\bin\Release\myPlugin64.dll. If this file does not support SelfReg you can ignore this warning. Otherwise, this error detail may be helpful to diagnose the

Get mouse screen coordinates on click

巧了我就是萌 提交于 2019-12-12 02:56:39
问题 How can I get mouse screen coordinates right after user clicks left mouse button (mose click coordinates - in another words). It's for a plugin written with FireBreath. I was tryin to use: FB::variant TestPluginAPI::Detect() { POINT pt; if (WM_LBUTTONUP) { GetCursorPos(&pt); } FB::VariantList Dtd = FB::variant_list_of(pt.x)(pt.y); return Dtd; it's returning JavaScript Array Dtd with pt.x and pt.y in it, then I'm using this array to render this coordinates on my page via JS. This one gives me