Click here to Skip to main content
15,902,635 members
Home / Discussions / C#
   

C#

 
GeneralRe: API explanation request Pin
dojohansen23-Nov-09 9:41
dojohansen23-Nov-09 9:41 
GeneralRe: API explanation request Pin
Richard MacCutchan23-Nov-09 12:14
mveRichard MacCutchan23-Nov-09 12:14 
GeneralRe: API explanation request Pin
dojohansen23-Nov-09 23:29
dojohansen23-Nov-09 23:29 
GeneralRe: API explanation request Pin
Richard MacCutchan24-Nov-09 2:53
mveRichard MacCutchan24-Nov-09 2:53 
GeneralRe: API explanation request Pin
dojohansen23-Nov-09 23:33
dojohansen23-Nov-09 23:33 
AnswerRe: API explanation request Pin
#realJSOP21-Nov-09 1:06
professional#realJSOP21-Nov-09 1:06 
GeneralRe: API explanation request Pin
mehrdad33321-Nov-09 8:02
mehrdad33321-Nov-09 8:02 
AnswerRe: API explanation request Pin
#realJSOP22-Nov-09 1:09
professional#realJSOP22-Nov-09 1:09 
Thank you for putting the proper tags around your code. The first thing that jumps out is that you're using int types for your interop methods. You should be using IntPtr so that the code will run reliably on both 32-bit and 64-bit operating systems.

Beyond that, I think you're going to have to find some additional code (or technique) that allows you to select a connected video capture device. I believe this will involve familiarity with the DirectX SDK, and more specifically buding what they call "graphs" to connect the various devices.

You may be able to use WMI to detect devices connected to the system (especially if they're USB or Firewire devices, but I've never done this before, so yo're gonna have to do the research.

Ain't programming fun?

.45 ACP - because shooting twice is just silly
-----
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
-----
"The staggering layers of obscenity in your statement make it a work of art on so many levels." - J. Jystad, 2001

GeneralRe: API explanation request Pin
mehrdad33322-Nov-09 8:52
mehrdad33322-Nov-09 8:52 
GeneralRe: API explanation request Pin
dojohansen23-Nov-09 9:49
dojohansen23-Nov-09 9:49 
QuestionHelp required Regarding winpcap Pin
hunzabasharat20-Nov-09 20:27
hunzabasharat20-Nov-09 20:27 
QuestionPrinting a datagrid Pin
JollyMansArt20-Nov-09 16:59
JollyMansArt20-Nov-09 16:59 
QuestionHelp With (conversions?) Pin
aaffbbww20-Nov-09 13:33
aaffbbww20-Nov-09 13:33 
AnswerRe: Help With Code Pin
Ravi Bhavnani20-Nov-09 14:01
professionalRavi Bhavnani20-Nov-09 14:01 
GeneralRe: Help With Code Pin
aaffbbww20-Nov-09 14:08
aaffbbww20-Nov-09 14:08 
GeneralRe: Help With Code Pin
Ravi Bhavnani20-Nov-09 17:06
professionalRavi Bhavnani20-Nov-09 17:06 
AnswerRe: Help With Code Pin
Luc Pattyn20-Nov-09 14:21
sitebuilderLuc Pattyn20-Nov-09 14:21 
GeneralRe: Help With Code Pin
aaffbbww20-Nov-09 14:32
aaffbbww20-Nov-09 14:32 
GeneralRe: Help With Code Pin
Luc Pattyn20-Nov-09 14:49
sitebuilderLuc Pattyn20-Nov-09 14:49 
AnswerRe: Help With (conversions?) Pin
_Maxxx_22-Nov-09 13:21
professional_Maxxx_22-Nov-09 13:21 
AnswerRe: Help With (conversions?) Pin
dojohansen23-Nov-09 10:26
dojohansen23-Nov-09 10:26 
QuestionFiles between one or several computers? Via a netowor.? Pin
ahlm20-Nov-09 11:51
ahlm20-Nov-09 11:51 
AnswerRe: Files between one or several computers? Via a netowor.? Pin
mehrdad33321-Nov-09 0:22
mehrdad33321-Nov-09 0:22 
GeneralRe: Files between one or several computers? Via a netowor.? Pin
ahlm21-Nov-09 1:00
ahlm21-Nov-09 1:00 
GeneralMessage Closed Pin
21-Nov-09 1:33
stancrm21-Nov-09 1:33 

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.