CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Dec 2006
    Posts
    44

    dll compile error

    Error 6 error LNK2019: unresolved external symbol __imp__SetupOpenInfFileA@16 referenced in function "public: void __thiscall Install_Functions::mGetHandleINF(char * const,char (* const)[100])" (?mGetHandleINF@Install_Functions@@QAEXQADQAY0GE@D@Z) Installer.obj

    "SetupOpenInfFile" is a function i use which is in the setupapi.h file which is part of the platformSDK.........i am trying to my printer driver installer into a dll so if its not in a dll project its fine so i don't know why the above link error happens?

  2. #2

    Re: dll compile error

    Quote Originally Posted by James_dean
    Error 6 error LNK2019: unresolved external symbol __imp__SetupOpenInfFileA@16 referenced in function "public: void __thiscall Install_Functions::mGetHandleINF(char * const,char (* const)[100])" (?mGetHandleINF@Install_Functions@@QAEXQADQAY0GE@D@Z) Installer.obj

    "SetupOpenInfFile" is a function i use which is in the setupapi.h file which is part of the platformSDK.........i am trying to my printer driver installer into a dll so if its not in a dll project its fine so i don't know why the above link error happens?
    Please import setupapi.lib
    Best Api Monitor tool.
    Trace the target program automatically and monitor the parameters of all API and COM interfaces.

    Auto Debug for Windows 4.0
    Auto Debug for .Net
    http://www.autodebug.com/

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured