Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize
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.

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

Community Additions

ADD
Show:
© 2015 Microsoft