Share via


Developing a COM DLL with COM Attributes

The following topics demonstrate how to quickly develop a simple COM server (an inproc server or DLL) using various attributes. You can develop the COM server in two ways:

The first walkthrough develops the COM server using a text editor and the command-line tools. The second walkthrough develops the same COM server using the Visual Studio integrated development environment.

Note

The UUID used in this topic is purely for demonstration purposes only. If omitted, the module attribute (and other attributes) will automatically generate one for you.

This topic focuses on the following attributes:

coclass

object

threading

dual

out

uuid

emitidl

pointer_default

version

helpstring

progid

vi_progid

module

retval

 

For a complete list of supported attributes, see Attributes by Group. For more information on attributed programming, see Attributed Programming.

See Also

Other Resources

Attributes Walkthroughs