Click here to Skip to main content
15,913,854 members
Home / Discussions / C#
   

C#

 
GeneralRe: Attributes Pin
Nick Parker13-Jul-03 3:38
protectorNick Parker13-Jul-03 3:38 
GeneralRe: Attributes Pin
leppie13-Jul-03 7:24
leppie13-Jul-03 7:24 
GeneralParent Form and its child form Pin
Mazdak12-Jul-03 21:20
Mazdak12-Jul-03 21:20 
GeneralRe: Parent Form and its child form Pin
Rocky Moore12-Jul-03 23:02
Rocky Moore12-Jul-03 23:02 
GeneralRe: Parent Form and its child form Pin
Mazdak13-Jul-03 4:59
Mazdak13-Jul-03 4:59 
GeneralRe: Parent Form and its child form Pin
Rocky Moore13-Jul-03 22:46
Rocky Moore13-Jul-03 22:46 
GeneralRe: Parent Form and its child form Pin
Mazdak14-Jul-03 9:55
Mazdak14-Jul-03 9:55 
GeneralPlease someone help me with COM interop Pin
Redbehelit12-Jul-03 11:19
Redbehelit12-Jul-03 11:19 
Ok, I've been having alot of trouble understanding COM interop.. All the books I read give VERY basic examples that do not really help in the real world. What I want to do is use QEDIT.DLL so that I can use its SampleGrabber or IMediaDet interfaces.

Some books that I've read give very different forms of interop as well, like using "CreateInstance.Activator". The MSDN tutorial for COM Interop uses a totally different approach, using interface definitions. I'm assuming that "CreateInstance.Activator" cannot be used in my case and can be only used for very basic COM objects.

From what I know now, you have to import the COM object using it's GUID. And then layout the interface in the order it is originally layed out in the COM object, but for the parameters you must marshal them into a managed type. But then, there is this thing called a "coclass", I have no understanding of a coclass and why it is used. I am guessing that the coclass actually contains the implementation of the COM interfaces? Please tell me if I am right.

Then there seems to be all sorts of complex things I need to do, like setting up a graph (I think) and connect pins for samplegrabber, and there's also weird pointers and callbacks that I have to use and I have no idea how to put this all together. I'm not sure but I think IMediaDet can work without a graph. What I'm trying to do is make a simple program that opens an AVI and grabs a frame into a BMP file. Anyway, I would appreciate it if anyone could help me understand those few things. Or if someone has the time, maybe someone could write up an article on how this would work, I know it would help alot of people out, but I understand that not many people have the time. I also took a look at NETmaster's Directshow.NET code but that just confuses me, and he does not offer help for his code. Anyway, thanks in advance.

GeneralRe: Please someone help me with COM interop Pin
Stephane Rodriguez.12-Jul-03 20:16
Stephane Rodriguez.12-Jul-03 20:16 
GeneralRe: Please someone help me with COM interop Pin
Redbehelit12-Jul-03 20:59
Redbehelit12-Jul-03 20:59 
Generalmemset function Pin
Hoang Dung12-Jul-03 7:50
Hoang Dung12-Jul-03 7:50 
GeneralRe: memset function Pin
leppie12-Jul-03 11:14
leppie12-Jul-03 11:14 
GeneralFREE .NET book :) :) :) Pin
leppie11-Jul-03 20:34
leppie11-Jul-03 20:34 
GeneralRe: FREE .NET book :) :) :) Pin
Nathan Blomquist12-Jul-03 4:48
Nathan Blomquist12-Jul-03 4:48 
GeneralRe: FREE .NET book :) :) :) Pin
Kannan Kalyanaraman12-Jul-03 7:24
Kannan Kalyanaraman12-Jul-03 7:24 
Generalthanks but.. Pin
peterchen13-Jul-03 10:48
peterchen13-Jul-03 10:48 
GeneralRe: thanks but.. Pin
leppie13-Jul-03 10:53
leppie13-Jul-03 10:53 
GeneralGraphics.DrawCurve() question Pin
Meysam Mahfouzi11-Jul-03 20:19
Meysam Mahfouzi11-Jul-03 20:19 
GeneralRe: Graphics.DrawCurve() question Pin
peterchen13-Jul-03 8:37
peterchen13-Jul-03 8:37 
GeneralRe: Graphics.DrawCurve() question Pin
Meysam Mahfouzi13-Jul-03 19:18
Meysam Mahfouzi13-Jul-03 19:18 
General2 not so # things Pin
leppie11-Jul-03 16:39
leppie11-Jul-03 16:39 
GeneralRe: 2 not so # things Pin
James T. Johnson11-Jul-03 17:32
James T. Johnson11-Jul-03 17:32 
GeneralRe: 2 not so # things Pin
leppie11-Jul-03 18:11
leppie11-Jul-03 18:11 
GeneralRe: 2 not so # things Pin
Nick Parker11-Jul-03 18:30
protectorNick Parker11-Jul-03 18:30 
GeneralRe: 2 not so # things Pin
leppie11-Jul-03 18:45
leppie11-Jul-03 18:45 

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.