ALL,
I have a DLL from which I am exporting a function. There is only one C++ file with the source code.
It turns out that I need to add a function to that source C++ file and call this function from the exported function. Unfortunately MSVC 2010 throws an error:
extern "C" declspec(__dllexport) ExportedFunc()
{
int result = Foo();
}
int Foo();
Foo(): identifier not found.
I tried to export the Foo() function but it didn't change anything.
What is the best way to fix it?
Thank you.