int __declspec(dllexport) ThisFunc();
Outside the DLL, you have a header file. This file is seperate, but defines every function that''s in your DLL using __declspec(dllimport) instead:
int __declspec(dllimport) ThisFunc();
The __declspec tells the compiler to look through library files, and in turn those library files load the DLL for you.
I hope this helps. Its the way I did my DLL at least.