Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Collapse the table of content
Expand the table of content


Call this function to determine whether the "/Embedding" or "-Embedding" option is present, which indicates whether the server application was launched by a client application.

BOOL RunEmbedded( );

Nonzero if the option was found; otherwise 0.

If present, the option is removed from the command line. For more information on embedding, see the article Servers: Implementing a Server.

Header: afxwin.h

© 2015 Microsoft