I’m upgrading a application from Delphi 6 to Delphi XE. I am using a TWebBrowser but for some reason Delphi refuses to recognize TWebBrowser as a type and also keeps adding in ShDocVw to the uses clause. It then throws the error
Could not compile used unit 'SHDocVw.pas'
I’m not quite sure why it adds this. Any ideas on what’s going on?
I ended up just copying the SHDocVw_TBL.pas from where it was in the Delphi XE source and pasting it in my code folder. I then renamed it SHDocVw, and everything works fine. Apparently Delphi wasn’t smart enough to realize that SHDocVw_TBL was the same thing.