compile error CS1519

Discussion in 'Questions (Windows Mobile)' started by RB Smissaert, Dec 31, 2008.

  1. RB Smissaert

    RB Smissaert Well-Known Member Licensed User

    Have replaced the Table control with Filippo's listview and apart from one slight problem (will post this later) it runs fine.
    I have one major problem and that is that I can't compile it. This is an optimized compile, Force QVGA (but not force QVGA has same problem).

    The error message I get is:

    External compiler error
    Error compiling program.

    Error message: error CS1519: Invalid token '+' in class, struct, or interface member declaration

    Any idea what the trouble could be?
    I can post the source code if needed, but it is a bit big.

  2. RB Smissaert

    RB Smissaert Well-Known Member Licensed User

    OK, have this fixed now after removing the secondary objects: ColHeader, SortComparer and SortWrapper. Not sure if I will need these in the future, but not for now and it now compiles fine.

  3. Filippo

    Filippo Expert Licensed User

    Hi RB Smissaert,

    The objects ColHeader, SortComparer and SortWrapper are only private Classen and should not be visible. In Basic4ppc are still visible, but may not be used. :sign0013:

  4. RB Smissaert

    RB Smissaert Well-Known Member Licensed User

    Thanks for explaining.
    How about the bugs to do with the control backcolor and auto-fit column width?
    Actually, I just found out that with the Door library I can add header click events to the regular table control, so I can do the column sort that way and as it a lot faster I think I will stick with that control for now.

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice