Hi, I have a project with one file containing the main program and some functions and subroutines (testProgram.f95) and two modules ( module1.f95 and module2.f95) I created a new project and after right clicking on 'source files' and selecting 'add existing items' I added my 3 files. After right clicking 'add References', I added Simple.dll.
I compiled the two modules first, and then compile the the main program source file, then I build the project and run it. It works fine.
The problem arises when I now try to modify the main program or the functions or subroutines(testprogram.f95) and save the changes, the file now appears under 'include files'. subsequent attempts to rebuild the project gives the error message ' no main, winmain or libmain function.
Any help in pointing out my error will be gratefully received!
Thanks
Albert