none
ATL Linking Issues using DDK 7600 RRS feed

  • Question

  • Hi !

    My project uses DDK 6000 and it builds fine when built against DDK 6000. I am migrating the project to build it against DDK 7600. The ATL libraries available in DDK 7600 are -

    1. atl.lib
    2. atls.lib
    3. atlsd.lib
    4. atlthunk.lib

    When compiled against DDK 7600, compiler is introducing new symbols which are not available in above 4 listed libraries. 

    unresolved external symbol __imp__AtlGetPerUserRegistration@4
    unresolved external symbol __imp__AtlWinModuleExtractCreateWndData@4
    unresolved external symbol __imp__AtlWinModuleAddCreateWndData@12
    unresolved external symbol __imp__AtlCallTermFunc@4
    unresolved external symbol __imp__AtlLoadTypeLib@16
    unresolved external symbol __imp__AtlCreateRegistrar@4
    unresolved external symbol __imp__AtlUpdateRegistryFromResourceD@20

    Neither static nor dynamic linking helped to resolve these symbols in DDK 7600. Please suggest possible solution.

    Thanks,

    Mahesh.



    • Edited by MaheshBabuV Tuesday, November 13, 2012 4:36 PM subject line
    • Moved by Damon Zheng Sunday, November 25, 2012 2:27 PM (From:Visual C++ MFC and ATL)
    Tuesday, November 13, 2012 4:35 PM

Answers

  • Might be a calling convention mismatch. Also, the ATL provided in the win7 wdk is not the full version of ATL. For a supported version of ATL, please use visual studio.

    d -- This posting is provided "AS IS" with no warranties, and confers no rights.

    Sunday, November 25, 2012 10:13 PM

All replies

  • Since your problem is more WDK related than ATL related IMO you should ask in ther WDK problem for help:

    http://social.msdn.microsoft.com/Forums/en-US/wdk/threads

    Thursday, November 15, 2012 5:49 AM
  • Hello,

    As Bordon suggested, I think this issue is more related to Windows Hardware WDK and Driver Development Forum. I will move this thread to that forum.

    Thanks for your understanding.


    Damon Zheng [MSFT]
    MSDN Community Support | Feedback to us

    Sunday, November 25, 2012 2:26 PM
  • Might be a calling convention mismatch. Also, the ATL provided in the win7 wdk is not the full version of ATL. For a supported version of ATL, please use visual studio.

    d -- This posting is provided "AS IS" with no warranties, and confers no rights.

    Sunday, November 25, 2012 10:13 PM