More

    Ambiguity between ‘_LARGE_INTEGER’ and ‘Webview2::_LARGE_INTEGER’

    Problem :

    During compilation of a legacy project I receive error messages. The project fails compilation.

    [bcc32 Error] dxDirectX.D2D.Types.hpp(296): E2015 Ambiguity between '_LARGE_INTEGER' and 'Webview2::_LARGE_INTEGER'
    [bcc32 Error] dxDirectX.D2D.Types.hpp(297): E2015 Ambiguity between '_LARGE_INTEGER' and 'Webview2::_LARGE_INTEGER'
    [bcc32 Error] dxDirectX.D2D.Types.hpp(473): E2015 Ambiguity between '_LARGE_INTEGER' and 'Webview2::_LARGE_INTEGER'
    [bcc32 Error] dxDirectX.D2D.Types.hpp(1225): E2015 Ambiguity between '_LARGE_INTEGER' and 'Webview2::_LARGE_INTEGER'
    [bcc32 Error] dxDirectX.D2D.Types.hpp(1227): E2015 Ambiguity between '_LARGE_INTEGER' and 'Webview2::_LARGE_INTEGER'
    [bcc32 Error] dxDirectX.D2D.Types.hpp(1228): E2015 Ambiguity between '_LARGE_INTEGER' and 'Webview2::_LARGE_INTEGER'
    [bcc32 Error] dxDirectX.D2D.Types.hpp(1229): E2015 Ambiguity between '_LARGE_INTEGER' and 'Webview2::_LARGE_INTEGER'

    I am not sure where to search for a solution. Can you please inform me?

    Paulo (DevExpress Support)a year ago

    Hello Dmitri,

    This seems to be a problem that is caused by the new Microsoft Edge browser in the modern 10.4 Sydney IDE. Would you please check if replacing _LARGE_INTEGER to Windows::TLargeInteger in the dxDirectX.D2D.Types.hpp header file can help you overcome this problem?

    BRBrian Ra month ago

    I have the same problem in RAD Studio 10.4.2 with VCL Subcription 21.1.6.

    Updating your header file to Windows::TLargeInteger did solve the problem. Will you update this in a future update?

    Moving around ‘#include <SHDocVw.hpp>’ did not help for me.

    Regards,
    BrianPaulo (DevExpress Support)a month ago

    Hello Brian,

    Yes, we are planning to change our code in the dxDirectX.D2D.Types unit to avoid such errors.

    Recent Articles

    spot_img

    Related Stories

    Stay on op - Ge the daily news in your inbox