Click here to Skip to main content
15,910,980 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How do I retrieve a list of applications running? Pin
Ravi Bhavnani7-May-02 11:45
professionalRavi Bhavnani7-May-02 11:45 
GeneralBlock Thread while running a child process Pin
Mike Doner7-May-02 10:10
Mike Doner7-May-02 10:10 
GeneralRe: Block Thread while running a child process Pin
Tim Deveaux7-May-02 10:13
Tim Deveaux7-May-02 10:13 
GeneralRe: Block Thread while running a child process Pin
Joaquín M López Muñoz7-May-02 10:14
Joaquín M López Muñoz7-May-02 10:14 
GeneralRe: Block Thread while running a child process Pin
Carlos Antollini7-May-02 10:22
Carlos Antollini7-May-02 10:22 
GeneralRe: Block Thread while running a child process Pin
Mike Doner7-May-02 10:25
Mike Doner7-May-02 10:25 
GeneralCMap question Pin
7-May-02 9:39
suss7-May-02 9:39 
GeneralRe: CMap question Pin
Joaquín M López Muñoz7-May-02 9:48
Joaquín M López Muñoz7-May-02 9:48 
You got to overload the template function HashKey to work for CStrings. Here's an example extracted from http://www.codeguru.com/cpp_mfc/excoll.shtml:
template<> inline UINT AFXAPI HashKey (CString& strKey)
{
  LPCSTR key = strKey;
  UINT nHash = 0;
  while (*key)
        nHash = (nHash<<5) + nHash + *key++;
  return nHash;
}



Joaquín M López Muñoz
Telefónica, Investigación y Desarrollo
GeneralRe: CMap question Pin
Chris Losinger7-May-02 9:48
professionalChris Losinger7-May-02 9:48 
GeneralRe: CMap question Pin
Christian Graus7-May-02 11:34
protectorChristian Graus7-May-02 11:34 
GeneralRe: CMap question Pin
Alexandru Savescu7-May-02 23:43
Alexandru Savescu7-May-02 23:43 
GeneralRe: CMap question Pin
Christian Graus8-May-02 10:59
protectorChristian Graus8-May-02 10:59 
GeneralDeleting a file Pin
kyledunn7-May-02 9:11
kyledunn7-May-02 9:11 
GeneralRe: Deleting a file Pin
Joaquín M López Muñoz7-May-02 9:18
Joaquín M López Muñoz7-May-02 9:18 
GeneralRe: Deleting a file Pin
kyledunn7-May-02 9:35
kyledunn7-May-02 9:35 
GeneralRe: Deleting a file Pin
Joaquín M López Muñoz7-May-02 9:41
Joaquín M López Muñoz7-May-02 9:41 
GeneralRe: Deleting a file Pin
Carlos Antollini7-May-02 10:10
Carlos Antollini7-May-02 10:10 
QuestionWrap text? Pin
7-May-02 7:55
suss7-May-02 7:55 
AnswerRe: Wrap text? Pin
Joaquín M López Muñoz7-May-02 8:04
Joaquín M López Muñoz7-May-02 8:04 
AnswerRe: Wrap text? Pin
Navin7-May-02 8:18
Navin7-May-02 8:18 
AnswerRe: Wrap text? Pin
Shog97-May-02 12:06
sitebuilderShog97-May-02 12:06 
GeneralAccessing structs in other classes Pin
Steve L.7-May-02 7:54
Steve L.7-May-02 7:54 
GeneralRe: Accessing structs in other classes Pin
Joaquín M López Muñoz7-May-02 8:14
Joaquín M López Muñoz7-May-02 8:14 
GeneralRe: Accessing structs in other classes Pin
moliate7-May-02 8:24
moliate7-May-02 8:24 
GeneralRe: Accessing structs in other classes Pin
Steve L.7-May-02 8:39
Steve L.7-May-02 8:39 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.