I create a c# dynamic object of a COM-Object on the fallowing way:
dynamic pdfCreator = Activator.CreateInstance(
Type.GetTypeFromProg
How about this:
public delegate void eReadyHandler();
static void Main(string[] args)
{
var comType = Type.GetTypeFromProgID("PDFCreator.clsPDFCreator");
dynamic pdfCreator = Activator.CreateInstance(comType);
//dynamic pdfCreator = new PDFCreator.clsPDFCreator();
//pdfCreator.eReady = null;
pdfCreator.eReady += new eReadyHandler(_PDFCreator_eReady);
}
public static void _PDFCreator_eReady()
{
}