boost::shared_ptr und Shell_NotifyIcon mit Visual C++ 2005



  • Ich versuche gerade mein Projekte, welches einen boost::shared_ptr mit einer eigenen Klassen, die mit Shell_NotifyIcon ein TrayIcon überwacht, mit Visual C++ 2005 zu compilieren. Doch leider erhalte ich zwei Linkerfehler:

    main.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol 
    ""void __cdecl boost::throw_exception(class std::exception const &)" 
    (?throw_exception@boost@@YAXABVexception@std@@@Z)" in Funktion ""public: __thiscall
     boost::detail::shared_count::shared_count<class TrayIcon>(class TrayIcon *)" 
    (??$?0VTrayIcon@@@shared_count@detail@boost@@QAE@PAVTrayIcon@@@Z)".
    winapi.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol 
    "__imp__Shell_NotifyIconA@8" in Funktion ""public: __thiscall 
    TrayIcon::TrayIcon(void)" (??0TrayIcon@@QAE@XZ)".
    bin\Debug\GetDotA.exe : fatal error LNK1120: 2 nicht aufgelöste externe 
    Verweise.
    

    Ich hab leider keine Ahnung was ich noch linken muss. Kann mir jemand helfen?

    mfg.


Anmelden zum Antworten