Click here to Skip to main content
15,899,314 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CMap template error Pin
Martin Marvinski5-Oct-02 20:42
Martin Marvinski5-Oct-02 20:42 
GeneralRe: CMap template error Pin
Atlantys4-Oct-02 7:16
Atlantys4-Oct-02 7:16 
GeneralRe: CMap template error Pin
Christian Graus4-Oct-02 11:06
protectorChristian Graus4-Oct-02 11:06 
GeneralRe: CMap template error Pin
Atlantys4-Oct-02 12:14
Atlantys4-Oct-02 12:14 
GeneralRe: CMap template error Pin
Christian Graus4-Oct-02 12:20
protectorChristian Graus4-Oct-02 12:20 
GeneralRe: CMap template error Pin
IGx894-Oct-02 7:54
IGx894-Oct-02 7:54 
GeneralRe: CMap template error Pin
Christian Graus4-Oct-02 11:09
protectorChristian Graus4-Oct-02 11:09 
GeneralRe: CMap template error Pin
Chris Losinger3-Oct-02 17:58
professionalChris Losinger3-Oct-02 17:58 
try this:

template<>
inline UINT AFXAPI HashKey(CString& key)
{
	return HashKey((LPCTSTR)key);
}


this will define a function that can convert your CString to a DWORD. just drop it in the header file where you define your map.

-c


bit, n:
A unit of measure applied to color. Twenty-four-bit color refers to expensive $3 color as opposed to the cheaper 25 cent, or two-bit, color that use to be available a few years ago.

GeneralRe: CMap template error Pin
IGx894-Oct-02 7:52
IGx894-Oct-02 7:52 
GeneralRe: CMap template error Pin
Tomasz Sowinski4-Oct-02 0:11
Tomasz Sowinski4-Oct-02 0:11 
Questionapi available for this purpose? Pin
imran_rafique3-Oct-02 15:36
imran_rafique3-Oct-02 15:36 
Generalregular expression problems Pin
Roman Nurik3-Oct-02 13:33
Roman Nurik3-Oct-02 13:33 
GeneralRe: regular expression problems Pin
Jörgen Sigvardsson3-Oct-02 14:17
Jörgen Sigvardsson3-Oct-02 14:17 
GeneralRe: regular expression problems Pin
Jon Hulatt3-Oct-02 21:52
Jon Hulatt3-Oct-02 21:52 
General*.bmp *.wbmp conversion Pin
3-Oct-02 12:27
suss3-Oct-02 12:27 
GeneralRe: *.bmp *.wbmp conversion Pin
Jörgen Sigvardsson3-Oct-02 13:35
Jörgen Sigvardsson3-Oct-02 13:35 
GeneralRe: *.bmp *.wbmp conversion Pin
Anonymous3-Oct-02 13:59
Anonymous3-Oct-02 13:59 
GeneralRe: *.bmp *.wbmp conversion Pin
Chris Losinger3-Oct-02 18:00
professionalChris Losinger3-Oct-02 18:00 
QuestionThis 'works' but would you ever want to ?? Pin
RedZenBird3-Oct-02 12:21
RedZenBird3-Oct-02 12:21 
AnswerRe: This 'works' but would you ever want to ?? Pin
RedZenBird3-Oct-02 12:49
RedZenBird3-Oct-02 12:49 
AnswerRe: This 'works' but would you ever want to ?? Pin
Jörgen Sigvardsson3-Oct-02 13:47
Jörgen Sigvardsson3-Oct-02 13:47 
GeneralRe: This 'works' but would you ever want to ?? Pin
RedZenBird3-Oct-02 14:46
RedZenBird3-Oct-02 14:46 
GeneralRe: This 'works' but would you ever want to ?? Pin
Jörgen Sigvardsson3-Oct-02 15:06
Jörgen Sigvardsson3-Oct-02 15:06 
GeneralRe: This 'works' but would you ever want to ?? Pin
RedZenBird3-Oct-02 15:16
RedZenBird3-Oct-02 15:16 
GeneralCAsyncSoccket Pin
moloko3-Oct-02 11:59
moloko3-Oct-02 11:59 

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.