No, it's a console application. Let me say a little more about it. I have a SDK from some company which gives me some additional functions to operate with disks. In order to use it, i need to create a COM object. I have several samples writte in VBScript and JScript, and it also should work in C# but there is no any help about it. To create a COM object in C# i use the following code:
object myVar = Activator.CreateInstance(Type.GetTypeFromProgID("C ompany.Object"));
And it works. But now i also need to write some callback functions. I have a VBScript sample, where they create COM like that:
Set myVar = WScript.CreateObject("Company.Object", "Handle_");
So i just need to rewrite this line in C#, but i don't know how. It also written that i can implement callback functions via ConnectionPoint. Maybe i should create a COM object as always and the connect to it somehow?
|