title: Can a standard executable have an export table?
body: <p>I have an executable written in C that has some functions in it that I would like to use from a c# application. I have written plenty of dlls before and was able to use functions in them by prepending <code>__declspec(dllexport)</code> to the function declaration. Can I do this from an executable? will the executable actually export the function?</p>