Click here to Skip to main content
15,914,162 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Debug vs Release mode?!?! Pin
Jijo.Raj18-Jun-08 16:56
Jijo.Raj18-Jun-08 16:56 
GeneralRe: Debug vs Release mode?!?! Pin
Kiran Satish18-Jun-08 17:13
Kiran Satish18-Jun-08 17:13 
AnswerRe: Debug vs Release mode?!?! Pin
Nibu babu thomas18-Jun-08 17:31
Nibu babu thomas18-Jun-08 17:31 
GeneralRe: Debug vs Release mode?!?! Pin
Kiran Satish18-Jun-08 17:35
Kiran Satish18-Jun-08 17:35 
GeneralRe: Debug vs Release mode?!?! Pin
Nibu babu thomas18-Jun-08 17:37
Nibu babu thomas18-Jun-08 17:37 
GeneralRe: Debug vs Release mode?!?! Pin
Kiran Satish19-Jun-08 10:07
Kiran Satish19-Jun-08 10:07 
AnswerRe: Debug vs Release mode?!?! Pin
Saurabh.Garg19-Jun-08 3:25
Saurabh.Garg19-Jun-08 3:25 
QuestionIs there a 64bit HID.LIB and SETUPAPI.LIB ? [modified] Pin
abiemann18-Jun-08 7:35
abiemann18-Jun-08 7:35 
I'm updating an old (32bit) command line C++ program that I used to detect specific human input devices connected to the USB port.

the includes for this project are:
extern "C"
{
    #include "hidsdi.h"
    #include "hidusage.h"
    #include "hidpi.h"
}


the project compiles without linking error as a 32bit application.
However, as soon as I switch to 64bit I get linker errors such as:


Error	1	error LNK2019: unresolved external symbol HidD_FreePreparsedData referenced in function "public: __cdecl DgCpDfuFunctions::~DgCpDfuFunctions(void)" (??1DgCpDfuFunctions@@QEAA@XZ)	DgCpDfuFunctions.obj	

Error	2	error LNK2019: unresolved external symbol __imp_SetupDiDestroyDeviceInfoList referenced in function "private: int __cdecl DgCpDfuFunctions::FindControlPanel(struct _hidDeviceStruct *)" (?FindControlPanel@DgCpDfuFunctions@@AEAAHPEAU_hidDeviceStruct@@@Z)	DgCpDfuFunctions.obj

Error	3	error LNK2019: unresolved external symbol __imp_SetupDiGetDeviceInterfaceDetailA referenced in function "private: int __cdecl DgCpDfuFunctions::FindControlPanel(struct _hidDeviceStruct *)" (?FindControlPanel@DgCpDfuFunctions@@AEAAHPEAU_hidDeviceStruct@@@Z)	DgCpDfuFunctions.obj
	
Error	4	error LNK2019: unresolved external symbol __imp_SetupDiEnumDeviceInterfaces referenced in function "private: int __cdecl DgCpDfuFunctions::FindControlPanel(struct _hidDeviceStruct *)" (?FindControlPanel@DgCpDfuFunctions@@AEAAHPEAU_hidDeviceStruct@@@Z)	DgCpDfuFunctions.obj	


I made sure that the 64bit "project properties" -> "Linker" -> "Input" are set up exactly like the 32bit project.

Note: I'm using the libraries from the Windows DDK, i.e. \lib\wxp\i386\hid.lib

EDIT: I'm using Visual Studio 2005

modified on Wednesday, June 18, 2008 1:43 PM

AnswerRe: Is there a 64bit HID.LIB and SETUPAPI.LIB ? Pin
Saurabh.Garg18-Jun-08 8:11
Saurabh.Garg18-Jun-08 8:11 
GeneralRe: Is there a 64bit HID.LIB and SETUPAPI.LIB ? [modified] Pin
abiemann18-Jun-08 11:40
abiemann18-Jun-08 11:40 
GeneralRe: Is there a 64bit HID.LIB and SETUPAPI.LIB ? [modified] Pin
George Helyar3-Dec-08 9:44
George Helyar3-Dec-08 9:44 
QuestionDebugging information missing! Pin
bosfan18-Jun-08 6:08
bosfan18-Jun-08 6:08 
AnswerRe: Debugging information missing! Pin
Chris Losinger18-Jun-08 6:37
professionalChris Losinger18-Jun-08 6:37 
GeneralRe: Debugging information missing! Pin
bosfan18-Jun-08 22:36
bosfan18-Jun-08 22:36 
AnswerRe: Debugging information missing! Pin
Jijo.Raj18-Jun-08 9:01
Jijo.Raj18-Jun-08 9:01 
GeneralRe: Debugging information missing! Pin
bosfan18-Jun-08 22:38
bosfan18-Jun-08 22:38 
AnswerRe: Debugging information missing! Pin
Saurabh.Garg18-Jun-08 23:44
Saurabh.Garg18-Jun-08 23:44 
GeneralRe: Debugging information missing! Pin
bosfan19-Jun-08 0:49
bosfan19-Jun-08 0:49 
GeneralRe: Debugging information missing! Pin
Saurabh.Garg19-Jun-08 3:18
Saurabh.Garg19-Jun-08 3:18 
QuestionHow to convert from AVI to WMV Pin
capint18-Jun-08 5:30
capint18-Jun-08 5:30 
AnswerRe: How to convert from AVI to WMV Pin
David Crow18-Jun-08 5:42
David Crow18-Jun-08 5:42 
GeneralRe: How to convert from AVI to WMV Pin
capint18-Jun-08 5:53
capint18-Jun-08 5:53 
AnswerRe: How to convert from AVI to WMV Pin
Mark Salsbery18-Jun-08 9:50
Mark Salsbery18-Jun-08 9:50 
QuestionOrdinal 1028 Pin
problemfixer18-Jun-08 5:24
problemfixer18-Jun-08 5:24 
AnswerRe: Ordinal 1028 Pin
James R. Twine18-Jun-08 7:38
James R. Twine18-Jun-08 7:38 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.