compiler macht probleme



  • 😞 hallo erstmal 😃

    also mein compiler macht probleme bei diesem audruck

    typedef   BOOL CALLBACK (*Setup)(HWND);
    typedef   BOOL CALLBACK (*Uninstall)(void);
    

    und des sind die fehler

    error C2371: 'BOOL' : redefinition; different basic types
    error C2059: syntax error : '{'
    error C2143: syntax error : missing ';' before '{'
    error C2447: missing function header (old-style formal list?)
    missing storage-class or type specifiers

    also mit dem dev-c++ compiler gehts aber ich wills mit dem visual c++

    MFG T.N.T



  • IIRC muss die Aufrufkonvention mit in die Klammern, also zB so

    typedef BOOL (CALLBACK *Setup)(HWND);
    

Anmelden zum Antworten