Linkage Error

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

Moderator: Moderators

Linkage Error

Postby rodrigo.seabra » Tue Apr 08, 2008 10:35 am

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.
rodrigo.seabra
 
Posts: 44
Joined: Fri Apr 04, 2008 7:03 am

Postby jwick » Tue Apr 08, 2008 12:27 pm

It looks like you are not linking in the hid library, nor the setup api.
jwick
Moderator
Moderator
 
Posts: 1769
Joined: Wed Dec 20, 2006 2:25 pm
Location: USA

Postby rodrigo.seabra » Wed Apr 09, 2008 5:03 am

Thanks!
rodrigo.seabra
 
Posts: 44
Joined: Fri Apr 04, 2008 7:03 am


Return to Developer's Forum for Windows

Who is online

Users browsing this forum: No registered users and 2 guests