'Enable3dControlsStatic' : is not a member of 'CWinApp'



  • Ich habe folgen Fehler wenn ich ein Reales meiner Dialog Anwendung erstelle:

    \Microsoft Visual Studio .NET\Vc7\atlmfc\include\afxwin2.inl(1037): error
    C2039: 'Enable3dControlsStatic' : is not a member of 'CWinApp'

    Was hab ich falsch gemacht?

    Vielen Dank schon mal im Voraus
    Gruß Waver



  • #ifdef _AFXDLL
        Enable3dControls();         // Call this when using MFC in a shared DLL
    #else
        Enable3dControlsStatic();   // Call this when linking to MFC statically
    #endif
    

    Wenn das so bei dir in InitInstance steht dürfte das funktionieren. Die Funktion ist nämlich ganz sicher ein Member von CWinApp...


Anmelden zum Antworten