PyDLL.AttachToMFC

AttachToMFC()

Attaches the DLL object to the MFC list of DLL's.

Comments

After calling this method, MFC will search this DLL when looking for resources. A program can use this function once, instead of specifying the DLL in each call to load/find a resource.
In addition, this is the only way that an application can provide status bar messages and tool tips for custom control ID's in an external DLL.