Click here to Skip to main content
15,906,463 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Access denied when calling the cluster-api (clusapi.dll) Pin
Calla4-Jun-09 5:14
Calla4-Jun-09 5:14 
QuestionRe: Access denied when calling the cluster-api (clusapi.dll) Pin
led mike4-Jun-09 7:49
led mike4-Jun-09 7:49 
AnswerRe: Access denied when calling the cluster-api (clusapi.dll) Pin
Calla4-Jun-09 8:04
Calla4-Jun-09 8:04 
GeneralRe: Access denied when calling the cluster-api (clusapi.dll) Pin
led mike4-Jun-09 8:46
led mike4-Jun-09 8:46 
GeneralRe: Access denied when calling the cluster-api (clusapi.dll) Pin
Rajesh R Subramanian28-Jul-09 0:34
professionalRajesh R Subramanian28-Jul-09 0:34 
GeneralRe: Access denied when calling the cluster-api (clusapi.dll) Pin
led mike28-Jul-09 5:49
led mike28-Jul-09 5:49 
GeneralRe: Access denied when calling the cluster-api (clusapi.dll) Pin
Rajesh R Subramanian28-Jul-09 5:59
professionalRajesh R Subramanian28-Jul-09 5:59 
QuestionVisual C++ 6.0 SETUPAPI help! [modified] Pin
callousfantom4-Jun-09 2:23
callousfantom4-Jun-09 2:23 
Hi, I have only recently got back to VC++ programming and I was only a rookie when I used to program in it but now I need to create an application that can list all the devices attached to the system like "devcon.exe" does. I only just started coding it and I'm now facing a linker error that I just can't resolve! The path to my SETUPAPI.h file exists in the "Directories" under options. And I'm only calling the "SetupDiGetClassDevsEx" function. The program compiles fine but gives the following error while linking:

DeviceMDlg.obj : error LNK2001: unresolved external symbol __imp__SetupDiGetClassDevsExA@24
Debug/DeviceM.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.

DeviceM.exe - 2 error(s), 0 warning(s)

Please help! I'm losing my mind!Smile | :)
Thanks and sorry if it's a really stupid question

*** What do you mean add SetupAPI.lib to the linker files list?? Paths of both header and lib file are listed under the "Include files" and "Library files" options. Also SetupAPI.h and .lib are present in the default path ~/VC98/Include and ~/VC98/Lib. I didn't add any external library. Any ideas??

modified on Friday, June 5, 2009 12:36 AM

AnswerRe: Visual C++ 6.0 SETUPAPI help! Pin
CPallini4-Jun-09 2:38
mveCPallini4-Jun-09 2:38 
GeneralRe: Visual C++ 6.0 SETUPAPI help! Pin
callousfantom4-Jun-09 18:43
callousfantom4-Jun-09 18:43 
GeneralRe: Visual C++ 6.0 SETUPAPI help! Pin
callousfantom4-Jun-09 19:23
callousfantom4-Jun-09 19:23 
AnswerRe: Visual C++ 6.0 SETUPAPI help! Pin
CPallini4-Jun-09 21:14
mveCPallini4-Jun-09 21:14 
GeneralRe: Visual C++ 6.0 SETUPAPI help! Pin
callousfantom5-Jun-09 0:31
callousfantom5-Jun-09 0:31 
QuestionC++ code Pin
shyampasari4-Jun-09 0:34
shyampasari4-Jun-09 0:34 
AnswerRe: C++ code Pin
Hamid_RT4-Jun-09 1:06
Hamid_RT4-Jun-09 1:06 
GeneralRe: C++ code Pin
shyampasari4-Jun-09 1:12
shyampasari4-Jun-09 1:12 
JokeRe: C++ code Pin
CPallini4-Jun-09 1:32
mveCPallini4-Jun-09 1:32 
AnswerRe: C++ code Pin
Maximilien4-Jun-09 1:22
Maximilien4-Jun-09 1:22 
GeneralRe: C++ code Pin
shyampasari4-Jun-09 1:25
shyampasari4-Jun-09 1:25 
AnswerRe: C++ code Pin
Cedric Moonen4-Jun-09 1:32
Cedric Moonen4-Jun-09 1:32 
GeneralRe: C++ code Pin
shyampasari4-Jun-09 1:36
shyampasari4-Jun-09 1:36 
GeneralRe: C++ code Pin
Cedric Moonen4-Jun-09 1:54
Cedric Moonen4-Jun-09 1:54 
AnswerRe: C++ code Pin
norish4-Jun-09 4:28
norish4-Jun-09 4:28 
QuestionBMP Reader C Code Pin
Mitesh Karwa4-Jun-09 0:10
Mitesh Karwa4-Jun-09 0:10 
NewsRe: BMP Reader C Code Pin
CPallini4-Jun-09 0:30
mveCPallini4-Jun-09 0:30 

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.