Karthik Agarwal

Karthik Agarwal

  • NA
  • 748
  • 266.5k

How to create a dll based on the c code in vc++?

Feb 8 2012 9:10 AM
Hi,

I have a C code for which i have to generate dll but i myself chose to do it in vc++ (visual studio 2008). I thought i have succeeded in doing that but i wasn't. I found that when i wrote a test application to refer that dll. when i tried to add a reference in test application it says that "could not add a reference to the file chosen because it is neither a .Net assembly or registered ActiveX control".

Can anyone tell me what's the problem or is this the way to do or else did i do something wrong? Earliest response is appreciated.

Answers (5)