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 <install-directory>\VSDK\INCLUDE.
See Also:
The big picture
How Embed talks to a DLL
Debugging hints
Using the Embed DLL wizard