Permissions protecting COM calls Previous
Previous
Welcome
Welcome
Next
Next

This sample must be run from a command prompt.

To build debug versions of the classes and c++-implemented COM component:

nmake
release versions:
nmake BUILD=retail
Prebuilt binaries are in the 'sample' directory. Substitute 'debug' or 'retail' for 'sample' in the below instructions to run the versions you have built.

Both c++- and java-implemented components must be registered. Run 'reg.bat', which does the following:

regsvr32 /s sample\comsamp.dll
javareg /register /class:comsamp.CMyCOMObjectSecurity /classid:{8EACC4B4-289A-11d1-BA1D-006008039BF0} /nomktyplib /q


Remarks:
This sample requires Internet Explorer 4.0

Top © 1996-1997 Microsoft Corporation. All rights reserved.