...
The steps described below indicate one method of structuring files and scripts to generate the module DLL. You can adapt this to fit your development process.
Building ExamplesDLL.dll
Anchor | ||||
---|---|---|---|---|
|
Run the master code generation script for this library
make_examples
Open up the Visual Studio solution <AWE>\AWEModules\Source\Examples\Examples.sln
The solution contains two projects shown below:The ExamplesLib compiles the module source files and builds an overall library. The ExamplesDLL project builds the DLL. ExamplesLib is easily understood by C programmers. Understanding ExamplesDLL requires some Windows expertise. Fortunately, you can use the Examples projects as starting points for your own custom DLL development and do not have to delve into the underlying Windows issues.
To build the audio module DLL, right-click on ExamplesDll and select Rebuild, ensuring that the x86 Release configuration is selected. The project dependencies are set so that first ExamplesLib will be built followed by ExampleDll.
ExamplesDLL generates DLL at the location <AWE>\Bin\win32-142-rel directory so that it can be referenced by the Server.
...
If the DLL was properly built, you'll be able to open the Server and see the new library of examples listed. Select Target > List Modules and scroll down the list looking for the ExamplesDLL.dll entry:
...
Cloning the Examples Library
We recommend that you use the Examples directory as a starting point for your own custom module libraries. We also recommend maintaining the existing directory structure.
...