I am using Visual Studio 2008.
I created a windows Console project and wrote my code. it compiled well and the program created a default .exe file.
Now i created another project. this time its a C# project, and i am trying to access the functionality from the C++ project i used before.
So what i did was i tried to add the .exe file of the C++ project as a reference in the C# project but i get the following error message.
"a reference to c:......./example.exe could not be added. please make sure the the file is accessible, and that is a valid assembly or COM component"
what should i do ? how should i resolve this ?
I wonder if i should post this in the C# forum, but yet i think i have to make changes to the C++ project (or may be i am wrong)
Help