Export (0) Print
Expand All

ScribbleDotNET Sample: Extending Scribble with CLR Features 

Download sample

In this collection of samples the classic Scribble sample is updated and extended to include new .NET functionality. The sample files include two solutions, one with an MFC implementation of the Scribble sample and the other with a Window Forms implementation of the Scribble sample. Each of the feature areas that are demonstrated in the sample solutions are described in the following sample descriptions:

Walkthrough: Exposing a .NET Plug-in Model

The MFC Scribble solution is extended to expose a .NET object model. Furthermore, the sample also exposes a plug-in architecture that enables .NET plug-ins to interact seamlessly with the MFC Scribble solution.

Walkthrough: Using /clr:pure Features

Windows Forms Scribble solution is extended to include some native classes that contain static data. The Windows Forms Scribble solution also exposes Windows Forms controls that must be usable from the Windows Forms designer. Building the sample with the /clr:pure option addresses potential issues with those scenarios.

Security noteSecurity Note

This sample code is provided to illustrate a concept and should not be used in applications or Web sites, as it may not illustrate the safest coding practices. Microsoft assumes no liability for incidental or consequential damages should the sample code be used for purposes other than as intended.

To build this sample

  • See the above walkthroughs for the correct procedure to build the application.

To run this sample

  • See the above walkthroughs for the correct procedure to run the application.

See Also

Other Resources

General Samples

Community Additions

ADD
Show:
© 2014 Microsoft