Hello kurt
thanks for your answer
i see several sections in my tlibimp.sym file:
[Pascal:TypeNames]
[Pascal:MemberNames]
[C++:TypeNames]
[C++:MemberNames]
[{00020905-0000-0000-C000-000000000046}:TypeNames]
... (More GUID TypeNames)
[AdditionalIncludes]
[ExcludedNames]
can you say where i put the lines you post?
regards
--- In delphi-webbrowser@yahoogroups.com, "Senfer, Kurt" <kurt.senfer@...>
wrote:
>
> I vaguely recall having seen that problem a long time ago - the problem
> is that your D4 imported mshtml.dll incorrect.
>
> Hawing looked into my old D4 disk image I found some comments I once
> wrote about that specific problem:
>
> To install "Microsoft HTML Object Library" correctly you must add
> following lines (case-sensitive) to the ascii-file "tlibimp.sym" located
> in your Delphi\Bin-directory:
>
> True
> False
> Unit
> String
> object
>
> After saving the changed tlibimp.sym just import mshtml again and the
> new mshtml_tlb.pas should then be OK
>
> OBS - You need to have "Upgrade Pack 3" installed on your D4.
> In Delphi-IDE choose menu Help->About. The version will tell you if
> Upgrade Pack 3 is installed.
>
> Sadly I lost my Upgrade Pack 3 (Proff.) some years ago and I haven't
> been able to find it again - so if you got it a copy would be much
> appreciated !
>
> -Kurt
>
>
> > -----Original Message-----
> > From: delphi-webbrowser@yahoogroups.com
> > [mailto:delphi-webbrowser@yahoogroups.com] On Behalf Of
> > mariofabriciomontenegro
> > Sent: 7. april 2009 00:10
> > To: delphi-webbrowser@yahoogroups.com
> > Subject: [Delphi-WebBrowser] mshtml_tlb in delphi 4
> >
> > Hello:
> >
> > i have a old program that works only in delphi 4 and uses the
> > EmbeddedWB for navigate some pages.
> >
> > i dont use this program lately and now i see that no works.
> > When i try to compile, delphi 4 give me several errors iquals:
> >
> > "incompatible types boolean and integer"
> >
> > serching in the forum i saw that the mshtml_tlb.pas file have an line:
> >
> > const
> >
> > true = $000000001;
> > false = $000000000;
> >
> > this produces the error, i replace with another mshtml_tlb
> > that i find but none is useful, they quit the error, but when
> > i use the embeddedWB in my proyect i get an error:
> >
> > Acces violation at address ... write of address...
> >
> > somebody can say where i can download the mshtml_tlb.pas file
> > that i can use with my delphi 4. or somethings witch allow me
> > to sove this problem
> >
> > thanks in advance
> >
> > Fabricio
> >
> >
>