Linkage Error

Post questions, comments and feedback to our 3Dconnexion Windows Development Team.

Moderator: Moderators

Post Reply
rodrigo.seabra
Posts: 44
Joined: Fri Apr 04, 2008 7:03 am

Linkage Error

Post by rodrigo.seabra »

Hi,

I compiled my application and during the linkage occured the following message "error LNK2019" and the compiler didn't recognize the following functions:

SetupDiDestroyDeviceInfoList
GetSpecificValueCaps
GetSpecificButtonCaps
GetCaps
GetPreparsedData
SetupDiGetDeviceInterfaceDetail
SetupDiEnumDeviceInterfaces
SetupDiGetClassDevs

In my header, there were the following libraries:

#include "stdafx.h"
#include <iostream>
#include <wtypes>
#include <setupapi>
extern "C" {
#include <hidsdi>
}
#include <malloc>

Do you have any idea? Just in case, I'm using VS2005 Express Edition.

Thanks.
jwick
Moderator
Moderator
Posts: 3341
Joined: Wed Dec 20, 2006 2:25 pm
Location: USA
Contact:

Post by jwick »

It looks like you are not linking in the hid library, nor the setup api.
rodrigo.seabra
Posts: 44
Joined: Fri Apr 04, 2008 7:03 am

Post by rodrigo.seabra »

Thanks!
Post Reply