Click here to Skip to main content
15,899,754 members
Home / Discussions / C#
   

C#

 
GeneralRe: OdbcDataReader calling IsDBNull changes the behaviour of Get methods Pin
PIEBALDconsult4-Jan-12 13:41
mvePIEBALDconsult4-Jan-12 13:41 
QuestionRe: OdbcDataReader calling IsDBNull changes the behaviour of Get methods Pin
Dan Mos7-Jan-12 12:07
Dan Mos7-Jan-12 12:07 
AnswerRe: OdbcDataReader calling IsDBNull changes the behaviour of Get methods Pin
PIEBALDconsult7-Jan-12 13:22
mvePIEBALDconsult7-Jan-12 13:22 
AnswerRe: OdbcDataReader calling IsDBNull changes the behaviour of Get methods Pin
Ennis Ray Lynch, Jr.3-Jan-12 7:41
Ennis Ray Lynch, Jr.3-Jan-12 7:41 
QuestionDeployment Pin
arkiboys3-Jan-12 2:52
arkiboys3-Jan-12 2:52 
AnswerRe: Deployment Pin
manognya kota3-Jan-12 18:38
manognya kota3-Jan-12 18:38 
GeneralRe: Deployment Pin
arkiboys4-Jan-12 10:47
arkiboys4-Jan-12 10:47 
GeneralRe: Deployment Pin
manognya kota4-Jan-12 18:04
manognya kota4-Jan-12 18:04 
QuestionC# Asp.net application to run on all Internet browsers Pin
MduduziM3-Jan-12 2:35
MduduziM3-Jan-12 2:35 
AnswerRe: C# Asp.net application to run on all Internet browsers Pin
Richard MacCutchan3-Jan-12 2:50
mveRichard MacCutchan3-Jan-12 2:50 
AnswerRe: C# Asp.net application to run on all Internet browsers Pin
BillWoodruff3-Jan-12 2:54
professionalBillWoodruff3-Jan-12 2:54 
AnswerRe: C# Asp.net application to run on all Internet browsers Pin
BobJanova3-Jan-12 7:53
BobJanova3-Jan-12 7:53 
Questionproblem in capturing the handle to USB HID device for reading and writing operations Pin
anuj_jain2-Jan-12 22:04
anuj_jain2-Jan-12 22:04 
AnswerRe: problem in capturing the handle to USB HID device for reading and writing operations Pin
Richard MacCutchan3-Jan-12 1:35
mveRichard MacCutchan3-Jan-12 1:35 
GeneralRe: problem in capturing the handle to USB HID device for reading and writing operations Pin
anuj_jain3-Jan-12 1:36
anuj_jain3-Jan-12 1:36 
GeneralRe: problem in capturing the handle to USB HID device for reading and writing operations Pin
Richard MacCutchan3-Jan-12 1:56
mveRichard MacCutchan3-Jan-12 1:56 
GeneralRe: problem in capturing the handle to USB HID device for reading and writing operations Pin
anuj_jain3-Jan-12 2:00
anuj_jain3-Jan-12 2:00 
GeneralRe: problem in capturing the handle to USB HID device for reading and writing operations Pin
Richard MacCutchan3-Jan-12 2:11
mveRichard MacCutchan3-Jan-12 2:11 
GeneralRe: problem in capturing the handle to USB HID device for reading and writing operations Pin
anuj_jain3-Jan-12 2:15
anuj_jain3-Jan-12 2:15 
GeneralRe: problem in capturing the handle to USB HID device for reading and writing operations Pin
Richard MacCutchan3-Jan-12 2:48
mveRichard MacCutchan3-Jan-12 2:48 
anuj_jain wrote:
i check it by removing # with /.

You really need to a) read my suggestions more closely and b) read up on the format of Windows file and device paths, and C# string constants. Your path should be one of the following:
C#
deviceHandle = CreateFile
                    ("\\\\?\\USB\\Vid_18c8&Pid_2bfa\\063\\{A5DCBF10-6530-11D2-901F-00C04FB951ED}",/*devicePathName[0]/*, /*GENERIC_WRITE | GENERIC_READ*/0, FILE_SHARE_READ | 

// OR

deviceHandle = CreateFile
                    (@"\\?\USB\Vid_18c8&Pid_2bfa\063\{A5DCBF10-6530-11D2-901F-00C04FB951ED}",/*devicePathName[0]/*, /*GENERIC_WRITE | GENERIC_READ*/0, FILE_SHARE_READ | 


As to reading the rest of your code, I do not have the time or experience to be able to judge it. It is up to you to do your own testing and debugging, a vital part of a developer's job.
Unrequited desire is character building. OriginalGriff
I'm sitting here giving you a standing ovation - Len Goodman



GeneralRe: problem in capturing the handle to USB HID device for reading and writing operations Pin
Dave Kreskowiak3-Jan-12 3:52
mveDave Kreskowiak3-Jan-12 3:52 
GeneralRe: problem in capturing the handle to USB HID device for reading and writing operations Pin
Member 85373613-Jan-12 16:48
Member 85373613-Jan-12 16:48 
GeneralRe: problem in capturing the handle to USB HID device for reading and writing operations Pin
anuj_jain3-Jan-12 2:05
anuj_jain3-Jan-12 2:05 
GeneralRe: problem in capturing the handle to USB HID device for reading and writing operations Pin
BobJanova3-Jan-12 2:25
BobJanova3-Jan-12 2:25 
GeneralRe: problem in capturing the handle to USB HID device for reading and writing operations Pin
anuj_jain3-Jan-12 2:30
anuj_jain3-Jan-12 2: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.