|
|
#1 |
|
Junior Member
Join Date: May 2006
Posts: 28
|
How can we use say google bar ?
How can we use say google bar etcÂÂÂÂ* with the Browser built with TEmbeddedWB ?
|
|
|
|
|
|
#2 |
|
Administrator
Join Date: Jan 1970
Posts: 1,303
|
Re: How can we use say google bar ?
The same as with TWebbrowser.
Google for results. You can also read the links in http://www.bsalsa.com/ie_tools.html Regards |
|
|
|
|
|
#3 |
|
Main Developer
Join Date: May 2006
Posts: 913
|
Re: How can we use say google bar ?
hi,
I've created an example how to use the Google Bar in your Delphi application. However, the code is not yet perfect and you may get AVs.. Maybe someone can fix it? Last edited by smot; 11-02-2008 at 04:11 PM. |
|
|
|
|
|
#4 |
|
Junior Member
Join Date: May 2006
Posts: 28
|
Re: How can we use say google bar ?
Hi
Using D5, I could not compile your project with the following errior messages.. [Error] uBandHost.pas(80): Undeclared identifier: 'IInterface' [Error] uBandHost.pas(81): Declaration of 'OnFocusChangeIS' differs from previous declaration [Fatal Error] Unit1.pas(39): Could not compile used unit 'uBandHost.pas' What units must I add ? |
|
|
|
|
|
#5 |
|
Main Developer
Join Date: May 2006
Posts: 913
|
Re: How can we use say google bar ?
IInterface is like TObject -- it is the base all descendants descend from. IUnknown and IInterface are really the same thing (IUnknown = IInterface
, but by using IUnknown you are implying that your interface has something to do with Microsoft's COM technology. On the other hand, working with IInterface makes no such implication. IInterface is a regular, cross-platform interface. IInterface is new in Delphi 6. In Delphi 5 you must use IUnknown. Change Code:
function TBandHost.OnFocusChangeIS(punkObj: IInterface; fSetFocus: BOOL): HResult; Code:
function TBandHost.OnFocusChangeIS(punkObj: IUnknown; fSetFocus: BOOL): HResult; |
|
|
|
|
|
#6 |
|
Junior Member
Join Date: May 2006
Posts: 28
|
Re: How can we use say google bar ?
I recompiled my browser project in D7 and managed to create and show the GoogleBar.
Problem is that whenever the app is closed, I get an AV... Any clues ? |
|
|
|
|
|
#7 | |
|
Main Developer
Join Date: May 2006
Posts: 913
|
Re: How can we use say google bar ?
Quote:
Code:
procedure TForm1.Button3Click(Sender: TObject); begin obj := nil; end; procedure TForm1.FormClose(Sender: TObject; var Action: TCloseAction); begin BandHostIntf := nil; end; |
|
|
|
|
|
|
#8 |
|
Junior Member
Join Date: Jul 2010
Posts: 4
|
Let's redefine the question. What can be the possible problems (not what is there but what can be there) of using google toolbar? Once we define it then we will analyze how big is the risk and will let the member decide whether they want to avoid the risk (if at all any) or not.
__________________
[ |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to test whether Google Bar is already intstalled in IE ? | cch | GoogleBar and other bars | 5 | 06-08-2010 09:00 PM |