在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
CreateOleObject System.Win.ComObj.pas System.Win.ComObj.hpp
#include <objbase.h>
Winapi.ActiveX.pas
CoInitialize(NULL);
Variant vapp; GUID guid = Comobj::StringToGUID("{F6295C21-BA09-418A-A98B-BAA87B50983E}"); CoUninitialize
CreateOleObject
Unassigned 在单元文件里 varaints
Variant obj = CreateOleObject("mycom.myView");
CoCreateInstance http://blog.csdn.net/winglet/article/details/2872342
readydcard
c#调用com Type oleType = Type.GetTypeFromProgID("MCtestinterface.1.0"); object oleObject = System.Activator.CreateInstance(oleType); oleType.InvokeMember("printreport", BindingFlags.InvokeMethod, null, oleObject, new object[] { hisrequest }); return 0; https://www.cnblogs.com/ShaYeBlog/p/4811297.html |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论