我正在努力在ServicedComponent中托管WPF应用程序。我有一个WPF库,我需要从本机代码中使用它。COM+组件,将所有的WPF调用放入其中,并从本机代码中调用该组件,如下所示:[ComVisible(true)]
public class HpPcKeyboardSrv : ServicedComponent由于臭名昭著的WPF异常"The calling thread must be STA, because many UI components require this",我无
该对象在没有问题的情况下在DataSet中接收一个DataSet字段,并将该字段传递给一个标记为AutoComplete的ServicedComponent (COM+)方法。但奇怪的是,如果我直接调用ServicedComponent而没有为.Net远程处理配置它,则不会发生日期更改。ServicedComponent正在进行中。sessionId, data);}
public class ReservationSC : Se