Skip to content

Latest commit

 

History

History
57 lines (29 loc) · 1.45 KB

PyDLL.md

File metadata and controls

57 lines (29 loc) · 1.45 KB

PyDLL

PyDLL Object

A DLL object. A general utility object, and not associated with an MFC object.

Methods

  • GetFileName

    Returns the file name of the DLL associated with the object. 

  • AttachToMFC

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

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.

PyDLL.GetFileName

string = GetFileName() Returns the name of the module associated with the DLL.

Comments

Note that this is the name that Windows knows the DLL by, not necessarily

the name that was specified!

PyDLL.__repr__

string = __repr__() Returns the HINSTANCE and filename of the DLL.

Win32 API References