简体   繁体   中英

out process COM server crash when client sets up event listener

IMP.exe is my out process COM server. It includes Microsoft.Office.Uc.dll.

TestIMP.exe is my COM client.Code is the same with the link _IContactsAndGroupsCallback.OnLookUp

Microsoft.Office.Uc.dll and IMP.exe are written to Registry successfully.

When the line below is executed, a crash occurs.

officeIntegration.OnShuttingDown += officeIntegration_OnShuttingDown;

crash

The crash is because the version of my Framework is not suitable.The version I used is 3.5. After I upgraded to Framework 4.0, it works.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM