If you are creating an exe, you need have a function main() or WinMain() defined in your application. The prototype is as follows
int main (int argc, char *argv[])
int __stdcall WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance,
LPSTR lpszCmdLine, int nCmdShow)
This is where the exe execution starts. Check to see if you have a main defined.
If this project was initially meant to be a dll with exported functions, change the project target settings to specify that. To do this, go to Build >> Target Type, and specify Dynamic Link Library.
Hope this helps
Bilal Durrani
NI