Page 4 of 5
Re: Awesomium - Chromium based Framework
Posted: Wed Jun 27, 2012 2:20 pm
by PMV
it becomes more and more stable
Now i use it with my JSON-Include as a GUI, works great.
update: (26.06.2012)
+ fixed: for ResourceRequestCallback(ID.i, *AweRequest.Awesomium_Request), now *AweRequest\Url returns full URL
+ fixed: Display issue for special width/ height values when using Awesomium-Gadget
+ fixed: Alpha-channel was lost for sprites because of DX9-bug. Now, as a workaround, when using mode #PB_Sprite_AlphaBlending, the whole sprite is repainted always!
+ added: Awesomium_JS_Execute(), Awesomium_JS_Execute_Return_XXX()
+ added: parameter "ChildProcessPath" for InitAwesomium() and an OSVersion()-check for windows, feature deactivated for linux because of missing code
+ added: parameter "PowerOf2" for CreateAwesomiumTexture() to always get a 2^X width and hight for texture. Attention: Will result in free space, right and bottom of texture, when width/ height is not 2^X! You will need to scale the texture with a material-script. There is currently no function in PB to scale the texture at runtime.
+ updated: Awesomium to version 1.6.6
+ updated: include works with PB4.61, too.
Bug in PB4.61:
Don't know if it is a bug, but now the painted texture is displayed
mirrored and normal at the same time, so you see two versions
and it switches rapidly. In this case TextureOutput() is not usable.
bug-report:
http://www.purebasic.fr/english/viewtop ... =4&t=50375
MFG PMV
Re: Awesomium - Chromium based Framework
Posted: Mon Jul 16, 2012 12:31 am
by zxtunes.com
Not work:
PB4.61/W7/X64
Re: Awesomium - Chromium based Framework
Posted: Fri Nov 16, 2012 5:36 pm
by ricardo
Same problem:
What can i do to fix this?
I think im running PB 4.60
Re: Awesomium - Chromium based Framework
Posted: Fri Nov 16, 2012 5:52 pm
by PMV
my crystal ball says you should check why the
DLL is not loaded properly.

Re: Awesomium - Chromium based Framework
Posted: Thu Sep 18, 2014 8:38 am
by es_91
Thank god for Awesomium! Thank god for PMV!

Re: Awesomium - Chromium based Framework
Posted: Sat Dec 13, 2014 9:11 am
by tj1010
Last update was almost three years ago.. Looks like it's back to webgadget..
I actually had a automation tool based on this lib, because I don't have the time to develop my own based on Chromium or Gecko.
I don't think people realize it IS a "selling point" because it's next to impossible to do web automation or UIs without JS runtime and DOM states that actually work..
Re: Awesomium - Chromium based Framework
Posted: Sun Dec 14, 2014 5:10 pm
by PMV
Awesomium is not supporting C API anymore. So the only possibility to
get the latest version to work with PB would be to make a wrapper with
C++. Or we just wait, until Fred makes nativ C++ DLL support for
PureBasic.
I still use the old version too, but there is a plan to make such a wrapper.
There is also another one like Awesomium, have forget what name it was.
That one is used by Steam for example. It has no C support but C++
support, too. So regardless if Awesomium or the other one ... this can
took a year until i can start with that task.

I'm sorry.
Making a wrapper will take me a month i think, as i have to start from scratch

And i currently have no idea, when i will have that time.
MFG PMV
Re: Awesomium - Chromium based Framework
Posted: Sun Dec 14, 2014 5:49 pm
by tj1010
I've been seeing Gecko used. Kind of like how PB used Mozilla engine but now it's a newer version of Gecko.
EDIT: Doing things like using Not on strings and obsolete constants also breaks this lib with newer versions of PB.
Re: Awesomium - Chromium based Framework
Posted: Fri Mar 27, 2015 11:35 am
by soul14eagle
Please help me! I need update Awesomium.pbi for top version Awesomium (good if last version or version higher than 1.6.6.0)
who have updated Awesomium.pbi and ready help?
I'll be grateful to that man!
Re: Awesomium - Chromium based Framework
Posted: Sat Mar 28, 2015 3:25 pm
by PMV
Awesomium doesn't support C anymore, only C++ and .Net.
If you want Awesomium, you have to write a wrapper in C/C++ for PureBasic.
MFG PMV
Re: Awesomium - Chromium based Framework
Posted: Thu Apr 16, 2015 10:47 am
by soul14eagle
Who can write the Awesomium wrapper last ver in C/C++ for PureBasic?
Re: Awesomium - Chromium based Framework
Posted: Sat Nov 07, 2015 4:17 pm
by soul14eagle
If anyone has last update or wrote the Awesomium wrapper last ver in C/C++ for PureBasic or alternative chromium framework/wrapper, please write me private message for partnership.
Re: Awesomium - Chromium based Framework
Posted: Sun Dec 06, 2015 3:31 pm
by SeregaZ
it have support https and java? i mean java applets, not scripts.
Re: Awesomium - Chromium based Framework
Posted: Sun Dec 13, 2015 4:06 pm
by Poshu
Alexi wrote:Wrapper is still working in PB 5.31+ on Windows 10. Actually the example just not targeting the DLL correctly (instead in temporary) and some small syntax changes. :D
Still work in 5.40 too but, if you don't want to spend half an hour to figure what's wrong, remember to use pb x86! (I forgot my default compiler was x64 =_=; )
Re: Awesomium - Chromium based Framework
Posted: Tue Mar 15, 2016 6:05 am
by normeus
I think people get put off when they read about licensing which is not free.
I just found out about "sciter32.dll"
http://sciter.com
which looks promising and on the instructions they say you can use C style calling. it only has one API call and and you have to define multiple prototypes for same API
Code: Select all
;not working code since I am going to bed now
sciterlib= OpenLibrary(#PB_Any,"G:\programming\sciter\bin\sciter32.dll")
If Not sciterlib : Debug "error sciter32.dll not found":End:EndIf
SciterAPI =GetFunction(sciterlib, "SciterAPI") ; one function only
Norm