but of you are compiling the DLL and the DLL links, then there are not external references.
are you trying to call that function yourself?