Answered How to use WTL in today plug-in DLL

  • Tuesday, October 27, 2009 5:30 AM
     
     
    If I compile the  today plug-in along, every thing's fine. If I compile WTL with today plug-in, the today plug-in will disappear in "Start->Setting->Today->Items".
    I use Dumpbin /exports today.dll to check the interface. InitializeCustomItem & CustomItemOptionsDlgProc are still there.

            240      00002110 [NONAME] ?InitializeCustomItem@@YAPAUHWND__@@PAU_TODAY
    LISTITEM@@PAU1@@Z (struct HWND__ * __cdecl InitializeCustomItem(struct _TODAYLIS
    TITEM *,struct HWND__ *))
            241      00002344 [NONAME] ?CustomItemOptionsDlgProc@@YAJPAUHWND__@@IIJ@
    Z (long __cdecl CustomItemOptionsDlgProc(struct HWND__ *,unsigned int,unsigned i
    nt,long))

    Is possible to use WTL with the today plug-in? Is possible to use third party DLL with the today plug-in?

Answers

  • Friday, November 06, 2009 3:59 AM
     
     Answered
    I think I have fixed this issue to compile the dll using release instead of debug option.

    the dll compiled by debug option will depend on msvcr90d.dll. And I think shell32 can not load msvcr90d.dll . That's the reason why the plugin can not display in Today Setting.





    • Marked As Answer by Jake Lin Wednesday, January 20, 2010 10:57 AM
    •