Well I followed SectorSeven's guide on how to compile a DLL and except I made a script for a GO not a NPC like he was explaining in his guide. (I don't think that matters though)... Anyway, when it came time to build the project this error came up:
Code:
1>------ Build started: Project: SunCannon, Configuration: Release Win32 ------
1>Compiling...
1>Cannon.cpp
1>..\src\Cannon\Cannon.cpp(20) : fatal error C1083: Cannot open include file: 'StdAfx.h': No such file or directory
1>Setup.cpp
1>..\src\Cannon\Setup.cpp(20) : fatal error C1083: Cannot open include file: 'StdAfx.h': No such file or directory
1>Generating Code...
1>Build log was saved at "file://c:\Users\Pioneer508\Desktop\New Folder (2)\Trunk\projects\2003_int_release_SunCannon\BuildLog.htm"
1>SunCannon - 2 error(s), 0 warning(s)
Why does this happen?