Page 2 of 2

Re: Chromium Embedded native support in PureBasic!?

Posted: Mon Feb 14, 2011 6:21 pm
by Seymour Clufley
utopiomania wrote:What does 'Just too big' mean? I think the webgadget is one of PBs biggest selling points, so let the customers decide what parts of PB is a small feature or not.
I agree. If a feature is important to customers, then it should be expanded and improved.

Re: Chromium Embedded native support in PureBasic!?

Posted: Tue Feb 15, 2011 3:32 am
by rsts
Seymour Clufley wrote:
utopiomania wrote:What does 'Just too big' mean? I think the webgadget is one of PBs biggest selling points, so let the customers decide what parts of PB is a small feature or not.
I agree. If a feature is important to customers, then it should be expanded and improved.
This would require some mechanism of determining "importance". At present there is none. Nor even a definition.

Does importance mean "most vocal"? Largest number of votes? Potential new customers?

There are already any number of "important" requests. Mobile devices? Features? Fixes? etc.

We need some mechanism to access "importance" as a cost/benefit. And that's likely up to fred and freak.

cheers

Re: Chromium Embedded native support in PureBasic!?

Posted: Tue Mar 15, 2011 12:10 am
by ricardo
Chrome have some Chrome frame that let you run Chrome when using a webgadget. I havent tested yet but will test it tomorrow morning.
Anyone has tested this yet?

Re: Chromium Embedded native support in PureBasic!?

Posted: Tue Mar 15, 2011 1:13 am
by ricardo
I install Chrome Frame, so now i can run Chrome frames using IExplorer.

I went to
http://www.iecustomizer.com/msmvp/ChromeFrame.aspx
using IE and its works, it call Chrome frame when the meta <meta http-equiv="X-UA-Compatible" content="Chrome=1" /> is found.

Okay, but... i compile some small app with PB and went to the same site to verify... and it was not same result. Chrome frame was not runned.

I need to find if there a registry value to make my app able to run Chrome webkit.

Any help are welcome!! :)

--------------------

BTW, Google Chrome Frame website:
http://code.google.com/chrome/chromeframe/

Description:

Enable open web technologies in Internet Explorer
Google Chrome Frame is an open source plug-in that seamlessly brings Google Chrome's open web technologies and speedy JavaScript engine to Internet Explorer. With Google Chrome Frame, you can:
Start using open web technologies - like the HTML5 canvas tag - right away, even technologies that aren't yet supported in Internet Explorer 6, 7, or 8.
Take advantage of JavaScript performance improvements to make your apps faster and more responsive.

Re: Chromium Embedded native support in PureBasic!?

Posted: Tue Mar 15, 2011 1:47 am
by ricardo
Using this javascript code, it looks like my webgadget can "see" the Chrome Frame, no matter its not used, not displayed.

Code: Select all

  <script type="text/javascript">
var i = new ActiveXObject('ChromeTab.ChromeFrame');
        if (i) {
          alert("Founded");
        }else{
          alert("Not founded");}
  </script>

Re: Chromium Embedded native support in PureBasic!?

Posted: Tue Mar 15, 2011 2:02 am
by ricardo
I found this:

Code: Select all


测试了下 rundll32 npchrome_tab.dll, CfLaunchChrome 可以启动 Chrome。不过把NPAPI引入IE会导致n多安全问题吧?

下面贴一个npchrome_tab.dll里的typelib:

ChromeTabLib; // ChromeTab 1.0 Type Library

Dispatch DIChromeFrameEvents;
GUID={A96B8A02-DD11-4936-8C0F-B2520289FABB};
function onload;
function onloaderror;
function onmessage(event:IDispatch);
function onreadystatechanged;
function onprivatemessage(event:IDispatch; target:BSTR);

Class HtmlFilter;
GUID={BB1176EE-20DD-41DC-9D1E-AC1335C7BBB0};
function QueryInterface(riid:^GUID; out ppvObj:^^void): HResult;
function AddRef: UI4;
function Release: UI4;

Class ChromeProtocol;
GUID={9875BFAF-B04D-445E-8A69-BE36838CDE3E};
function QueryInterface(riid:^GUID; out ppvObj:^^void): HResult;
function AddRef: UI4;
function Release: UI4;

Class ChromeActiveDocument;
GUID={3E1D0E7F-F5E3-44CC-AA6A-C0A637619AB8};
function QueryInterface(riid:^GUID; out ppvObj:^^void);
function AddRef: UI4;
function Release: UI4;
function GetTypeInfoCount(out pctinfo:^UINT);
function GetTypeInfo(itinfo:UINT; lcid:UI4; out pptinfo:^^void);
function GetIDsOfNames(riid:^GUID; rgszNames:^^I1; cNames:UINT; lcid:UI4; out rgdispid:^I4);
function Invoke(dispidMember:I4; riid:^GUID; lcid:UI4; wFlags:UI2; pdispparams:^DISPPARAMS; out pvarResult:^variant; out pexcepinfo:^EXCEPINFO; out puArgErr:^UINT);
property-get src: BSTR;
property-put src(BSTR);
function postMessage(message:BSTR; [target:variant]);
property-get onload: variant;
property-put onload(variant);
property-get onloaderror: variant;
property-put onloaderror(variant);
property-get onmessage: variant;
property-put onmessage(variant);
property-get readyState: I4;
function addEventListener(event_type:BSTR; listener:IDispatch; [use_capture:variant]);
function removeEventListener(event_type:BSTR; listener:IDispatch; [use_capture:variant]);
property-get version: BSTR;
function postPrivateMessage(message:BSTR; origin:BSTR; target:BSTR);
property-get useChromeNetwork: bool;
property-put useChromeNetwork(bool);

Dispatch IChromeFrame; // IChromeFrame Interface
GUID={B9F5EA20-C450-4F46-B70F-BFD3CA9A20C5};
function QueryInterface(riid:^GUID; out ppvObj:^^void);
function AddRef: UI4;
function Release: UI4;
function GetTypeInfoCount(out pctinfo:^UINT);
function GetTypeInfo(itinfo:UINT; lcid:UI4; out pptinfo:^^void);
function GetIDsOfNames(riid:^GUID; rgszNames:^^I1; cNames:UINT; lcid:UI4; out rgdispid:^I4);
function Invoke(dispidMember:I4; riid:^GUID; lcid:UI4; wFlags:UI2; pdispparams:^DISPPARAMS; out pvarResult:^variant; out pexcepinfo:^EXCEPINFO; out puArgErr:^UINT);
property-get src: BSTR;
property-put src(BSTR);
function postMessage(message:BSTR; [target:variant]);
property-get onload: variant;
property-put onload(variant);
property-get onloaderror: variant;
property-put onloaderror(variant);
property-get onmessage: variant;
property-put onmessage(variant);
property-get readyState: I4;
function addEventListener(event_type:BSTR; listener:IDispatch; [use_capture:variant]);
function removeEventListener(event_type:BSTR; listener:IDispatch; [use_capture:variant]);
property-get version: BSTR;
function postPrivateMessage(message:BSTR; origin:BSTR; target:BSTR);
property-get useChromeNetwork: bool;
property-put useChromeNetwork(bool);

Class ChromeFrame;
GUID={E0A900DF-9611-4446-86BD-4B1D47E7DB2A};
function QueryInterface(riid:^GUID; out ppvObj:^^void);
function AddRef: UI4;
function Release: UI4;
function GetTypeInfoCount(out pctinfo:^UINT);
function GetTypeInfo(itinfo:UINT; lcid:UI4; out pptinfo:^^void);
function GetIDsOfNames(riid:^GUID; rgszNames:^^I1; cNames:UINT; lcid:UI4; out rgdispid:^I4);
function Invoke(dispidMember:I4; riid:^GUID; lcid:UI4; wFlags:UI2; pdispparams:^DISPPARAMS; out pvarResult:^variant; out pexcepinfo:^EXCEPINFO; out puArgErr:^UINT);
property-get src: BSTR;
property-put src(BSTR);
function postMessage(message:BSTR; [target:variant]);
property-get onload: variant;
property-put onload(variant);
property-get onloaderror: variant;
property-put onloaderror(variant);
property-get onmessage: variant;
property-put onmessage(variant);
property-get readyState: I4;
function addEventListener(event_type:BSTR; listener:IDispatch; [use_capture:variant]);
function removeEventListener(event_type:BSTR; listener:IDispatch; [use_capture:variant]);
property-get version: BSTR;
function postPrivateMessage(message:BSTR; origin:BSTR; target:BSTR);
property-get useChromeNetwork: bool;
property-put useChromeNetwork(bool);
function onload;
function onloaderror;
function onmessage(event:IDispatch);
function onreadystatechanged;
function onprivatemessage(event:IDispatch; target:BSTR);

Class ChromeFrameBHO;
GUID={ECB3C477-1A0A-44BD-BB57-78F9EFE34FA7};
function QueryInterface(riid:^GUID; out ppvObj:^^void): HResult;
function AddRef: UI4;
function Release: UI4;


Re: Chromium Embedded native support in PureBasic!?

Posted: Tue Feb 04, 2014 10:59 pm
by ehowington
Just curious as i need a better alternative for web gadget THAN IE HINT HINT FRED
so has anyone done anything with this using the cef library?

if so examples????

Re: Chromium Embedded native support in PureBasic!?

Posted: Wed Feb 05, 2014 7:00 am
by wilbert
There's a topic about Awesomium.
http://www.purebasic.fr/english/viewtop ... 12&t=48283
Maybe that is something to look at.

Re: Chromium Embedded native support in PureBasic!?

Posted: Sat Feb 08, 2014 1:38 am
by ehowington
Saw that already however not what i need as it does not support certain features i require sadly. I require Firefox or chrome preferably Firefox

Re: Chromium Embedded native support in PureBasic!?

Posted: Thu Feb 13, 2014 2:05 am
by ricardo
IE11 is pretty advanced, but webgadget need to have more complete options and features.

I think that right now is a really important selling point.

I read that most languages are working on ie, ff, webkit, etc.
Ruby, C#, etc.

Re: Chromium Embedded native support in PureBasic!?

Posted: Thu Feb 13, 2014 2:53 am
by ehowington
yes a most browsers support getusermedia for example and keep up to date with standards yet Microsoft slacks behind for ie