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.
Gets the appropriate code for unregistering a server.
function GetCodeForDllUnregisterServer(
nLineStart,
nLineEnd
);
Parameters
nLineStart
The zero-based line number for the start of the function.nLineEnd
The zero-based line number for the end of the function.
Return Value
A string containing the code for unregistering the server.
Remarks
Call this member function to retrieve the appropriate code for unregistering the server:
Line number |
Code |
|---|---|
0 |
|
1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
For each of the lines returned, GetCodeForDllUnregisterServer adds a leading tab (\t) and a trailing "CR-LF" (carriage return - linefeed) character pair (\r\n).
Example
// Get the lines numbered 2 and 3 above
GetCodeForDllUnregisterServer(2, 3)
// returns the following string
// "\tHRESULT hRes = _AtlModule.UnregisterServer(TRUE);\r\n\tif (hRes != S_OK)\r\n"
See Also
Tasks
Reference
Concepts
Customizing C++ Wizards with Common JScript Functions