Results 1 to 5 of 5

Thread: Compoiler Error 4332 with tWinPaintStruct

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Apr 2009
    Posts
    440

    Default Compoiler Error 4332 with tWinPaintStruct

    When compiling with Dataflex 19.1 one of my src-Files I see the Error 4332:
    When compiling with Dataflex 19.0 no Errors happen!

    - Including file: cDRPreviewWindow.pkg (C:\Apps\DataFlex 19.1\Libraries\DataFlex Reports 7\AppSrc\cDRPreviewWindow.pkg)
    - Error 4332: C:\Apps\DataFlex 19.1\Libraries\DataFlex Reports 7\AppSrc\cDRPreviewWindow.pkg (ln 21) Symbol already defined tWinPaintStruct

    Where can tWinPaintStruct be already defined? What can I do?

    Searching with Studio in Dataflex 19.1 (including all Dataflex files and all my source code files) for tWinPaintStruct :

    C:\Apps\DataFlex 19.1\Libraries\DataFlex Reports\AppSrc\cDRPreviewWindow.pkg
    - (Ln 119) tWinPaintStruct PaintData
    - (Ln 124) tWinPaintStruct PaintData
    C:\Apps\DataFlex 19.1\Libraries\DataFlex Reports 7\AppSrc\cDRPreviewWindow.pkg
    - (Ln 21) Struct tWinPaintStruct
    - (Ln 128) tWinPaintStruct PaintData
    C:\Apps\DataFlex 19.1\Pkg\Dfshape.pkg
    - (Ln 161) tWinPaintStruct paintStruct
    C:\Apps\DataFlex 19.1\Pkg\tWinStructs.pkg
    - (Ln 802) Struct tWinPaintStruct

    Code:
    C:\Apps\DataFlex 19.1\Pkg\tWinStructs.pkg
    Struct tWinPaintStruct
        Handle hdc
        Integer fErase
    #IFDEF IS$WIN64
        Integer iMissingAlignment
    #ENDIF
        tWinRect rcPaint
        Integer fRestore
        Integer fIncUpdate
        UChar[32] rgbReserved
    End_Struct
    
    C:\Apps\DataFlex 19.1\Libraries\DataFlex Reports 7\AppSrc\cDRPreviewWindow.pkg
    Struct tWinPaintStruct
        Handle   hDC
        Integer  fErase
        tWinRect rcPaint
        Integer  fRestore
        Integer  fIncUpdate
        Char[32] rgbReserved
    End_Struct
    I thought that a Struct can only once be defined in an application?

    Compiling my other src-Files no error happens.
    Last edited by Emil Preter; 1-Feb-2020 at 02:12 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •