Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

Professional Opinions
Ask a Question
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

troubleshooting Question

How do I P/Invoke a C file?

Avatar of GoldenBear
GoldenBear asked on
C#Visual C++.NET
6 Comments1 Solution417 ViewsLast Modified:

I am trying to P/Invoke the following C file:

When I try to add a reference, I get the error:
A reference to the MBF2IEE.DLL could not be added. Please make sure that the file is accessible, and that it is a valid assembly or COM component.

Is it possible to P/Invoke a C file? I've never actually use P/Invoke before, and I don't really know C/C++.

Avatar of ambience
ambienceFlag of Pakistan image

Our community of experts have been thoroughly vetted for their expertise and industry experience.

This problem has been solved!
Unlock 1 Answer and 6 Comments.
See Answers