Author Topic: [C++ Error] U_Main.cpp(188): E2015 Ambiguity between '_fastcall Sysutils::String  (Read 6153 times)

Offline engpaulo

  • Newbie
  • *
  • Posts: 20
  • Karma: 0
Hi, Mike.

Whats the problem?

Code: [Select]
[C++ Error] U_Main.cpp(188): E2015 Ambiguity between '_fastcall Sysutils::StringToGUID(const System::AnsiString)' and '_fastcall Comobj::StringToGUID(const System::AnsiString)'
I do not understand ... there is nothing wrong with the software.

Thanks.

Offline Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 3052
  • Karma: 1000
    • Soft Service Company
Hi,

This is WCL support forum and usualy we do not answer on common programing questions.

But all the error are described in the message: the functionis declared in 2 units (sysutils and comobj). compiler can not select one so you must specify which unit should be used.

 

Sitemap 1 2 3 4 5 6 7 8 9