Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

[Fatal Error] embeddedwb.pas(33): File not found: 'SHDocVw_tlb.dcu'

Status
Not open for further replies.

WayneStev

Programmer
Jan 3, 2006
21
US
Developing a project using EmbeddedWB.pas in the project It keeps generating an error
[Fatal Error] embeddedwb.pas(33): File not nd: 'SHDocVw_tlb.dcu'

why it the happening I tried reinstalling the related control this don't seem to help.

Any body know whair I can get a copy of SHDocVw_tlb.dcu or SHDocVw_tlb.pas

Help Please
 
any file with '_TLB' is an imported control. That is, you need the ActiveX control (or whatever) installed on your computer - then you can import it in Delphi. This step will create the .PAS file.

I did a search on my Windows folder for any file called SHDOCVW.* and found c:\windows\system32\shdocvw.dll

In Delphi, go to Project, Import Type Library. I couldn't find anything that looked like it in the list, so I clicked Add... and navigated to the .dll above. I was then taken to the position of the new file in the list, which, as it turns out was already there (so I removed what I just added). This file has a title of Microsoft Internet Controls (version 1.1).

Click Create Unit, and you're done.
 
oops - careful. When I clicked remove in my example above, it removed both instances of the .DLL in the Import Library list.
 
Use TLIBIMP (it is in the Delphi "Bin" folder). Googgle for instructions.

buho (A).
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top