Andrew Truckle
Andrew Truckle

Reputation: 19197

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?

Upvotes: 1

Views: 243

Answers (1)

Santosh
Santosh

Reputation: 1815

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++.

Upvotes: 1

Related Questions