Reading resources from an MFC DLL using C#

  • Thread starter Thread starter BadCode
  • Start date Start date
B

BadCode

Here is the deal..

I have some (MFC built) Resource only DLLs that I need to pull data
from using C#

Am I over-looking the obvious ?
As I've searched and not found anything about this.
Is this is so simple no one else (except me) had to ask - How to do
this?
 
they are likely unmanaged resources. I suggest creating a mixed mode dll in
MFC and C++/CLI to load the resources and convert them to managed
counterparts.
 
they are likely unmanaged resources. I suggest creating a mixed mode dll in
MFC and C++/CLI to load the resources and convert them to managed
counterparts.

They certainly are unmanaged.
My C# app must pull out a couple string resources.
I was hoping that I could do this without building my own unmanaged-
managed bridge.
While that isn't difficult to do, it means another DLL that must be
distributed and maintained.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top