I have an old c dll that I want to convert to a COM server.
It only exposes one function.
This is what I have done: I created an ATL project in VS 2010 added a simple ATL object with a wrapper function. I added the c sources and headers In the wrapper function I call the c function, I added the full function prototype as described in http://www.parashift.com/c++-faq-lite/mixing-c-and-cpp.html#faq-32.5.
The following error appears:
Unresolved external symbol referenced in function
I tried everything.
Any idea?