Try using AFX_MANAGE_STATE(AfxGetStaticModuleState( )); at the very start of
each function of your MFC dll that is called from .Net
- Atul
Sky Software
http://www.ssware.com/
Drop-In Windows Explorer-Like Shell Browsing UI for your apps.
"Moto47" <Mo****@discussions.microsoft.com> wrote in message
news:4C**********************************@microsof t.com...
What steps need to be taken when calling an mfc dll from .NET application?
I
am getting an ASSERT error from the dll on afxCurrentResourceHandle. Do I
need to define anything specific in my .NET application to get this to
work