简体   繁体   中英

Updating progress bar in MFC dialog from .NET C# DLL

I have seen this article but I need the reverse and find it confusing.

I have a C# DLL that is performing a lengthy task automating Outlook using interop.

This DLL method is called from my CDialog function in MFC.

My dialog has a progress bar control on it. Is it possible to update this progress bar in the dialog from the .NET DLL?

Does my question make sense?

Article Calling an Exported Function in an EXE from Within a DLL will help you to call exe function from dll only.

However, you can create named mutex , to sync process or dll progress. named mutex can be accessible from C++ as well as C#. Creating named Mutex in c# exe and Accessing it a dll in c++ .

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