Before you begin writing DLLs, make sure the Embed INCLUDE directory is part of the list of include directories that your compiler searches. The file specification is Embed-install-directory\VSDK\INCLUDE.
See Also:
The big picture
How Embed talks to a DLL
Debugging hints
Using the Altair Embed Add-On DLL wizard