I am getting the following error: I am using vs2008 and e-mail.h is included in the project
Error 1 error LNK2028: unresolved token (0A00004A) "public: void __thiscall MyEmail::Createfile(void)" (?Createfile@MyEmail@@$$FQAEXXZ) referenced in function "int __cdecl main(void)" (?main@@$$HYAHXZ) test.obj e-mail
Error 2 error LNK2019: unresolved external symbol "public: void __thiscall MyEmail::Createfile(void)" (?Createfile@MyEmail@@$$FQAEXXZ) referenced in function "int __cdecl main(void)" (?main@@$$HYAHXZ) test.obj e-mail
Error 3 fatal error LNK1120: 2 unresolved externals C:\Documents and Settings\jmartinez\My Documents\Visual Studio 2008\Projects\e-mail\Debug\e-mail.dll e-mail
#include "stdafx.h"
#include "e-mail.h"
void main ()
{
MyEmail e;
e.Createfile();
}