Compiler Warning (level 1) C4305
Collapse the table of content
Expand the table of content
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer

Compiler Warning (level 1) C4305

Error Message

'identifier' : truncation from 'type1' to 'type2'

The identifier is converted to a smaller type, resulting in loss of information.

If you used the ATL Connection Point Wizard, see Knowledge Base article:

  • Q250847 : ATL Connection Point Wizard Generated Code for Event with VARIANT Argument Gives C4305 Warning

© 2015 Microsoft