Click here to Skip to main content
16,004,977 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralRe: Problem setting includes directory in VS.NET03 Pin
Steve S17-Jul-03 1:55
Steve S17-Jul-03 1:55 
QuestionHow to catch change of the stock property in ActiveX control? Pin
awaken7325-Jun-03 23:33
awaken7325-Jun-03 23:33 
GeneralCan't make a hash_map with std::string for key Pin
Jonathan Gilligan24-Jun-03 12:09
Jonathan Gilligan24-Jun-03 12:09 
GeneralRe: Can't make a hash_map with std::string for key Pin
John M. Drescher24-Jun-03 12:23
John M. Drescher24-Jun-03 12:23 
GeneralRe: Can't make a hash_map with std::string for key Pin
John M. Drescher24-Jun-03 12:29
John M. Drescher24-Jun-03 12:29 
GeneralRe: Can't make a hash_map with std::string for key Pin
ZoogieZork24-Jun-03 14:28
ZoogieZork24-Jun-03 14:28 
GeneralRe: Can't make a hash_map with std::string for key Pin
Stuart Dootson24-Jun-03 21:06
professionalStuart Dootson24-Jun-03 21:06 
GeneralRe: Can't make a hash_map with std::string for key Pin
Alexandru Savescu27-Jun-03 1:51
Alexandru Savescu27-Jun-03 1:51 
Here's how Java get a hash code for the string. The algorithm should be fine:

/**
* Returns a hash code for this string. The hash code for a
* <code>String</code> object is computed as
* <blockquote><pre>
* s[0]*31^(n-1) + s[1]*31^(n-2) + ... + s[n-1]
* </pre></blockquote>
* using <code>int</code> arithmetic, where <code>s[i]</code> is the
* <i>i</i>th character of the string, <code>n</code> is the length of
* the string, and <code>^</code> indicates exponentiation.
* (The hash value of the empty string is zero.)
*
* @return a hash code value for this object.
*/

Best regards,
Alexandru Savescu

<small>P.S. Interested in art? Visit <a href="http://www.geocities.com/mirunadutescu" target="_blank"> this! </a></small>
GeneralThanks for the help Pin
Jonathan Gilligan27-Jun-03 4:45
Jonathan Gilligan27-Jun-03 4:45 
GeneralProperty Sheets, Help button access from an IPropertyPageImpl Pin
Debs24-Jun-03 1:15
Debs24-Jun-03 1:15 
GeneralIWebBrowser2/IWebBrowserApp problem Pin
peterhe23-Jun-03 11:50
peterhe23-Jun-03 11:50 
Generalvector.sort() Pin
Greg142122-Jun-03 11:24
sussGreg142122-Jun-03 11:24 
GeneralRe: vector.sort() Pin
Andrew Walker22-Jun-03 16:55
Andrew Walker22-Jun-03 16:55 
QuestionHow can ActiveX control with no input focus respond to keyboard event? Pin
stanley guan22-Jun-03 2:42
stanley guan22-Jun-03 2:42 
GeneralChanging a CAxDialogImpl dialog title bar caption Pin
Captain Apathy20-Jun-03 10:12
Captain Apathy20-Jun-03 10:12 
GeneralRe: Changing a CAxDialogImpl dialog title bar caption Pin
Michael Dunn20-Jun-03 18:19
sitebuilderMichael Dunn20-Jun-03 18:19 
GeneralRe: Changing a CAxDialogImpl dialog title bar caption Pin
Captain Apathy23-Jun-03 5:13
Captain Apathy23-Jun-03 5:13 
Generaloptional keyword Pin
SoloVision19-Jun-03 21:45
SoloVision19-Jun-03 21:45 
GeneralRe: optional keyword Pin
AlexO20-Jun-03 6:17
AlexO20-Jun-03 6:17 
Generaloptional keyword Pin
SoloVision19-Jun-03 21:44
SoloVision19-Jun-03 21:44 
General'optional' keyword Pin
SoloVision19-Jun-03 21:43
SoloVision19-Jun-03 21:43 
GeneralICollectionOnSTLImpl and how to use it in an MFC client App Pin
Braulio Dez19-Jun-03 0:59
Braulio Dez19-Jun-03 0:59 
QuestionWhat these words mean? Pin
Thomas Lau15-Jun-03 23:14
Thomas Lau15-Jun-03 23:14 
AnswerRe: What these words mean? Pin
Thomas Lau15-Jun-03 23:22
Thomas Lau15-Jun-03 23:22 
AnswerRe: What these words mean? Pin
Michael P Butler15-Jun-03 23:31
Michael P Butler15-Jun-03 23:31 

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.