flat assembler
Message board for the users of flat assembler.

Index > Windows > Fasm Simple Web Browser

Goto page Previous  1, 2
Author
Thread Post new topic Reply to topic
rbprsp



Joined: 14 Nov 2014
Posts: 6
rbprsp 08 Dec 2014, 09:46
Great example. Thanks to Force, typedef & sleepsleep.

But how can I implement callback function for click on a navigation link (ie <a href=target>) and get this target value? Any ideas please.
Post 08 Dec 2014, 09:46
View user's profile Send private message Reply with quote
typedef



Joined: 25 Jul 2010
Posts: 2909
Location: 0x77760000
typedef 08 Dec 2014, 20:57
^^^ There's a lot of COM code you'd have to write which just by the sound of it is too much in ASM.

You'd extend IUnknown, IDispatcher, then some events interface, etc.

You must know C/Delphi for this stuff to quite make sense. Here are some links:

http://support.microsoft.com/kb/246247

https://groups.google.com/forum/#!msg/borland.public.delphi.oleautomation/J19HHVwZq7c/zngs5eCZfaUJ

http://ehsanakhgari.org/article/visual-c/2008-06-22/advanced-chtmlview-hosting (http://ehsanakhgari.org/wp-content/uploads/file/vc/IDocHostUIHandler_Sample.zip)

I personally would just go with Delphi or some managed code if you want to create a custom UI library.
Post 08 Dec 2014, 20:57
View user's profile Send private message Reply with quote
Roman



Joined: 21 Apr 2012
Posts: 1833
Roman 19 Jul 2020, 08:24
pUnk->QueryInterface(IID_IWebBrowser2, (void**)&wb);
In wb i get null !
Post 19 Jul 2020, 08:24
View user's profile Send private message Reply with quote
DimonSoft



Joined: 03 Mar 2010
Posts: 1228
Location: Belarus
DimonSoft 19 Jul 2020, 09:11
Roman wrote:
pUnk->QueryInterface(IID_IWebBrowser2, (void**)&wb);
In wb i get null !

What class does the object behind your pUnk belong to?
Post 19 Jul 2020, 09:11
View user's profile Send private message Visit poster's website Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  
Goto page Previous  1, 2

< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.