Search the web
Sign In
New User? Sign Up
delphi-webbrowser · Delphi: Using IE's WebBrowser
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want to share photos of your group with the world? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
mshtml_tlb in delphi 4   Message List  
Reply | Forward Message #10252 of 10267 |
RE: [Delphi-WebBrowser] mshtml_tlb in delphi 4

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
>
>



Tue Apr 7, 2009 6:30 am

lexicalis
Offline Offline
Send Email Send Email

Forward
Message #10252 of 10267 |
Expand Messages Author Sort by Date

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...
mariofabriciomontenegro
mariofabrici...
Offline Send Email
Apr 6, 2009
10:10 pm

hello..the error says that you can't combine boolean type and integer. true and false are reserved words. try renaming your constant other than true/false.....
MARICOR MARAVILLA
marics_corner
Offline Send Email
Apr 7, 2009
4:33 am

Hello: thanks for you answer if i change that lines the component compiles but i get errors when i use the component in my proyect, i describe this in my first...
mariofabriciomontenegro
mariofabrici...
Offline Send Email
Apr 7, 2009
12:04 pm

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...
Senfer, Kurt
lexicalis
Offline Send Email
Apr 7, 2009
6:31 am

Hello kurt thanks for your answer i see several sections in my tlibimp.sym file: [Pascal:TypeNames] [Pascal:MemberNames] [C++:TypeNames] [C++:MemberNames] ...
mariofabriciomontenegro
mariofabrici...
Offline Send Email
Apr 7, 2009
11:59 am

Dont use a newer tlibimp.sym - go to your Delphi D4\Bin-directory And also use D4 to import mshtml -Kurt...
Senfer, Kurt
lexicalis
Offline Send Email
Apr 7, 2009
1:02 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help