Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Renders and inserts into the project's .idl file a template file containing a coclass.
function AddCoclassFromFile(
oCM,
strCoclassFile
);
Parameters
oCM
The Visual C++ Code Model object.strCoclassFile
The name of the template file, excluding the path.
Remarks
Call this function to render and insert into the project's .idl file a template file containing a coclass.
Example
// Render myproj.idl and insert into the project's .idl.
AddCoclassFromFile(oCM, "myproj.idl");
See Also
Tasks
Concepts
Customizing C++ Wizards with Common JScript Functions