Click here to Skip to main content
15,921,548 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: how to make? Pin
Christian Graus23-Oct-02 17:54
protectorChristian Graus23-Oct-02 17:54 
GeneralRe: how to make? Pin
imran_rafique24-Oct-02 16:31
imran_rafique24-Oct-02 16:31 
GeneralSmall icon vs Large icon Pin
Paul Oss23-Oct-02 12:49
Paul Oss23-Oct-02 12:49 
GeneralRe: Small icon vs Large icon Pin
Paul M Watt23-Oct-02 13:18
mentorPaul M Watt23-Oct-02 13:18 
GeneralRe: Small icon vs Large icon Pin
Paul Oss23-Oct-02 16:45
Paul Oss23-Oct-02 16:45 
GeneralRe: Small icon vs Large icon Pin
Paul M Watt23-Oct-02 18:34
mentorPaul M Watt23-Oct-02 18:34 
GeneralRe: Small icon vs Large icon Pin
Michael Dunn23-Oct-02 13:30
sitebuilderMichael Dunn23-Oct-02 13:30 
QuestionVC++ 7 bug or what? Pin
Val Samko23-Oct-02 11:43
Val Samko23-Oct-02 11:43 
#include <hash_map>
#include <string>
void foo {
std::hash_map<std::string, int> queries;
queries.find(std::string()); }

produces
C:\...\xhash(38): error C2440: 'type cast' : cannot convert from 'const std::string' to 'size_t'
error. That looks like a bug to me, since that is a fine C++ code.

looking into xhash we see

size_t operator()(const _Kty& _Keyval) const
{ // hash _Keyval to size_t value
return ((size_t)_Keyval);
}

which is at least weird.

Any comments?



QuestionRaw Win32 API UI in a DLL...? Pin
dandy7223-Oct-02 10:27
dandy7223-Oct-02 10:27 
AnswerRe: Raw Win32 API UI in a DLL...? Pin
Paul M Watt23-Oct-02 12:16
mentorPaul M Watt23-Oct-02 12:16 
GeneralRe: Raw Win32 API UI in a DLL...? Pin
dandy7224-Oct-02 3:47
dandy7224-Oct-02 3:47 
AnswerRe: Raw Win32 API UI in a DLL...? Pin
Mike Nordell24-Oct-02 4:06
Mike Nordell24-Oct-02 4:06 
GeneralRe: Raw Win32 API UI in a DLL...? Pin
dandy7224-Oct-02 8:56
dandy7224-Oct-02 8:56 
GeneralList/Array - finding items Pin
User 665823-Oct-02 10:19
User 665823-Oct-02 10:19 
GeneralRe: List/Array - finding items Pin
Dave Bryant23-Oct-02 10:27
Dave Bryant23-Oct-02 10:27 
GeneralRe: List/Array - finding items Pin
Daniel Turini23-Oct-02 10:35
Daniel Turini23-Oct-02 10:35 
GeneralRe: List/Array - finding items Pin
User 665823-Oct-02 13:14
User 665823-Oct-02 13:14 
GeneralUser breakpoint when trying to free memory. Pin
Anonymous23-Oct-02 9:50
Anonymous23-Oct-02 9:50 
GeneralRe: User breakpoint when trying to free memory. Pin
Daniel Turini23-Oct-02 9:57
Daniel Turini23-Oct-02 9:57 
GeneralRe: User breakpoint when trying to free memory. Pin
Stephane Rodriguez.23-Oct-02 10:14
Stephane Rodriguez.23-Oct-02 10:14 
GeneralMFC doc/view issue Pin
will138323-Oct-02 9:38
will138323-Oct-02 9:38 
GeneralRe: MFC doc/view issue Pin
valikac23-Oct-02 18:08
valikac23-Oct-02 18:08 
QuestionHow to change the background of a CHotkeyCtrl ? Pin
CAE23-Oct-02 9:12
CAE23-Oct-02 9:12 
AnswerRe: How to change the background of a CHotkeyCtrl ? Pin
Mike Nordell24-Oct-02 4:09
Mike Nordell24-Oct-02 4:09 
Generalhtml help workshop question Pin
Anonymous23-Oct-02 8:48
Anonymous23-Oct-02 8:48 

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.