Hi, I hope someone can help? I am working with ‘Beginner’s corner: Using the sdk: learn to work with the software development kit’ in AUM31. I am using Microsoft Visual Studio.Net 2003.
I can build the first dll and get the following message:
Compiling…
Stdafx.cpp
first.cpp
Linking
Build log was saved at \\File://c:\MyDlls\first\Debug\Buildlog.htm
Build:1 Succeeded, 0 Failed, 0 Skipped
---------Done-------
Build: 1 Succeeded, 0 Failed, 0 Skipped
When I then modify the first.cpp file and add:
DLLFUNC fixed KillFile(long file)
{
fixed *temp = (fixed*)adll_getwdlobj("temp");
A4_STRING *my_file = (A4_STRING *)file;
return INT2FIX(remove (my_file -> chars));
I get the following message when I click on 'build':
------ Build started: Project: first, Configuration: Debug Win32 ------
Compiling...
first.cpp
c:\My Dlls\first\adll.h(14) : fatal error C1083: Cannot open include file: 'atypes.h': No such file or directory
Build log was saved at "file://c:\My Dlls\first\Debug\BuildLog.htm"
first - 1 error(s), 0 warning(s)
---------------------- Done ----------------------
Build: 0 succeeded, 1 failed, 0 skipped
Would anyone know how to overcome the problemn when using Microsoft Visual Studio.Net 2003?
Thanks in advance!