VS 2003 -> 'MessageBoxA' : ambiguous symbol - Was muss ich noch einstellen?



  • Hallo,

    ich bin gerade dabei mich mit Visual Studio .NET 2003 auseinanderzusetzen um die HalfLife2 SDK zu compilieren.

    Im 2005er schluckt er die einfach nicht (veralteter C++ Standardt), und im 2003er meckert er zwar nicht an der SDK rum.. Aber er findet MessageBox einfach nicht o0

    Ich hab nur eine neue DLL erstellt, <windows.h> includiert und in die DLLMain ein
    "MessageBox(NULL,"new","new",MB_OK);" geschrieben..

    Und was kommt?

    c:\...\dllmain.cpp(12): error C2872: 'MessageBoxA' : ambiguous symbol

    Die Microsoft Plattform SDK hab ich auch installiert und
    "[...]Microsoft Platform SDK for Windows Server 2003 R2\Lib" zu Tools -> Options -> Projects -> VC++ Directories -> Library Files
    und
    "[...]Microsoft Platform SDK for Windows Server 2003 R2\Include" zu Tools -> Options -> Projects -> VC++ Directories -> Include Files
    hinzugefügt.

    Noch irgendwelche Vorschläge?

    Vielen Dank,
    Xalon


Anmelden zum Antworten