C++
bool AttachInstance( HINSTANCE hExtInst, HINSTANCE hResInst );
Description
This function attaches the extension DLL to MFC and updates the member extension and resource DLL handles.
Parameters
| Parameters | Description |
|---|---|
| hExtInst | Input as the handle of the extension DLL |
| hResInst | Input as the handle of the resource DLL (may be same as hExtInst) |
Returns
Returns TRUE on success and FALSE otherwise.
On success a corresponding call to DetachInstance() is required before the DLL terminates.