Click here to Skip to main content
15,904,348 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow can I select a node in a treeview Pin
Alex Cutovoi19-Jul-06 9:08
Alex Cutovoi19-Jul-06 9:08 
AnswerRe: How can I select a node in a treeview Pin
Ali Rafiee19-Jul-06 9:21
Ali Rafiee19-Jul-06 9:21 
GeneralRe: How can I select a node in a treeview [modified] Pin
Alex Cutovoi19-Jul-06 11:18
Alex Cutovoi19-Jul-06 11:18 
GeneralRe: How can I select a node in a treeview Pin
Ali Rafiee19-Jul-06 11:23
Ali Rafiee19-Jul-06 11:23 
GeneralRe: How can I select a node in a treeview Pin
Alex Cutovoi20-Jul-06 2:24
Alex Cutovoi20-Jul-06 2:24 
QuestionSerial Communication with a Garmin Device Pin
dinesh_pam19-Jul-06 8:40
dinesh_pam19-Jul-06 8:40 
QuestionRe: Serial Communication with a Garmin Device Pin
cppcook19-Jul-06 9:02
cppcook19-Jul-06 9:02 
AnswerRe: Serial Communication with a Garmin Device Pin
kitty519-Jul-06 9:11
kitty519-Jul-06 9:11 
dinesh_pam wrote:
if( !SetupDiEnumDeviceInterfaces( theDevInfo, NULL, (GUID* &GUID_DEVINTERFACE_GRMNUSB, &theInterfaceData ) && GetLastError() == ERROR_NO_MORE_ITEMS )
{
gHandle = 0;
return;
}


In the above try this so see what the error exactly is:
<br />
// Find the requested interface<br />
if( !SetupDiEnumDeviceInterfaces( theDevInfo, NULL, (GUID* &GUID_DEVINTERFACE_GRMNUSB, &theInterfaceData ) )<br />
{<br />
if(GetLastError()== ERROR_NO_MORE_ITEMS)               <br />
{<br />
printf("**Error: couldn't find device(no more items), (0)\n");<br />
SetupDiDestroyDeviceInfoList(theDevInfo);<br />
gHandle = 0;<br />
return -1;<br />
}<br />
else<br />
{<br />
printf("**Error: couldn't enum device, (%d)\n"), GetLastError());<br />
SetupDiDestroyDeviceInfoList(theDevInfo);<br />
gHandle = 0;<br />
return -1;<br />
}<br />
}<br />


Kitty5
GeneralRe: Serial Communication with a Garmin Device Pin
dinesh_pam19-Jul-06 9:29
dinesh_pam19-Jul-06 9:29 
GeneralRe: Serial Communication with a Garmin Device Pin
kitty519-Jul-06 9:45
kitty519-Jul-06 9:45 
GeneralRe: Serial Communication with a Garmin Device Pin
dinesh_pam19-Jul-06 10:06
dinesh_pam19-Jul-06 10:06 
AnswerRe: Serial Communication with a Garmin Device Pin
led mike19-Jul-06 10:33
led mike19-Jul-06 10:33 
QuestionDialog Box DDX problem Pin
kitty519-Jul-06 8:13
kitty519-Jul-06 8:13 
AnswerRe: Dialog Box DDX problem Pin
Michael Dunn19-Jul-06 8:30
sitebuilderMichael Dunn19-Jul-06 8:30 
GeneralRe: Dialog Box DDX problem Pin
kitty519-Jul-06 8:32
kitty519-Jul-06 8:32 
QuestionRe: Dialog Box DDX problem [modified] Pin
kitty521-Jul-06 3:10
kitty521-Jul-06 3:10 
QuestionRe: Dialog Box DDX problem Pin
David Crow19-Jul-06 9:29
David Crow19-Jul-06 9:29 
AnswerRe: Dialog Box DDX problem Pin
kitty520-Jul-06 3:47
kitty520-Jul-06 3:47 
GeneralRe: Dialog Box DDX problem Pin
David Crow20-Jul-06 4:22
David Crow20-Jul-06 4:22 
QuestionProblem with the pow( ) function [modified] Pin
KaKa'19-Jul-06 7:29
KaKa'19-Jul-06 7:29 
QuestionRe: Problem with the pow( ) function Pin
David Crow19-Jul-06 7:34
David Crow19-Jul-06 7:34 
AnswerRe: Problem with the pow( ) function Pin
toxcct19-Jul-06 7:35
toxcct19-Jul-06 7:35 
QuestionRe: Problem with the pow( ) function Pin
pgav19-Jul-06 7:37
pgav19-Jul-06 7:37 
AnswerRe: Problem with the pow( ) function Pin
cppcook19-Jul-06 7:42
cppcook19-Jul-06 7:42 
GeneralRe: Problem with the pow( ) function Pin
Zac Howland19-Jul-06 8:41
Zac Howland19-Jul-06 8:41 

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.