A DLL object. A general utility object, and not associated with an MFC object.
-
Returns the file name of the DLL associated with the object.
-
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.
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.
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.
- Search for GetModuleFileName at msdn, google or google groups.