Hi,
Hi, I am putting WebView into my project. When I try to start it mi in debug, it gives me the following error:
[bcc32 Error] E2015 Ambiguity between 'GUID' and 'Uwvtypelibrary::GUID'.
did this happen to you guys as well?
Disclosure Statement: This site contains affiliate links, which means that I may receive a commission if you make a purchase using these links. As an eBay Partner, I earn from qualifying purchases.
E2015 Ambiguity between 'GUID'
- salvadordf
- Posts: 4620
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact:
Re: E2015 Ambiguity between 'GUID'
Hi,
I don't have a C++ builder license and I can't test the component in that IDE.
Please, edit the uWVTypeLibrary.pas file and disable this line :
Let me know if there are more build errors.
I don't have a C++ builder license and I can't test the component in that IDE.
Please, edit the uWVTypeLibrary.pas file and disable this line :
Code: Select all
GUID = __MIDL___MIDL_itf_webview2_0005_0001_0001;
Re: E2015 Ambiguity between 'GUID'
I finally solved it; it was as simple as that.
Even removing that line there didn't solve it.
Then in Projects->Options->Conditional Defines I added so that I specify GUID that I need to use to avoid the conflict.
I hope this will help other users.
PS.I take this opportunity to thank you so much for the lib you created!
Even removing that line there didn't solve it.
Then in Projects->Options->Conditional Defines I added
Code: Select all
NO_USING_NAMESPACE_UWVTYPELIBRARY
I hope this will help other users.
PS.I take this opportunity to thank you so much for the lib you created!