which lib includes function HidD_GetAttributes

Discussion in 'Windows Vista Drivers' started by Gain, Dec 29, 2003.

  1. Gain

    Gain Guest

    I am compiling an USB project using VC6.0,
    an there are errors:

    USBPortDlg.obj : error LNK2001: unresolved external symbol "unsigned char
    __stdcall HidD_GetAttributes(void *,struct _HIDD_ATTRIBUTES *)"
    ([email protected]@[email protected]@@Z)
    USBPortDlg.obj : error LNK2001: unresolved external symbol "void __stdcall
    HidD_GetHidGuid(struct _GUID *)" ([email protected]@[email protected]@@Z)
    Debug/USBPort.exe : fatal error LNK1120: 2 unresolved externals

    how can i solve them?
     
    Gain, Dec 29, 2003
    #1
    1. Advertisements

  2. HID.DLL
    Add HID.lib to your project.
     
    Robert Marquardt, Dec 29, 2003
    #2
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.