|
The real column handle is needed in some occasions. For example, to obtain the path and file name of the real column, if I have two QQ.exe, one in C: the other in D :, I start both A QQ.exe program, and I want to get their respective file paths in the program. If the instance handle values of the two executable files are the same, who gets the path? Of course this is impossible!
TCHAR szPath [MAX_PATH];
GetModuleFileName (GetModuleHandle (NULL), szPath, MAX_PATH); |
|