Click here to Skip to main content
16,004,927 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: IWebBrowser2 and Document Pin
Alex Cramer20-May-02 16:26
Alex Cramer20-May-02 16:26 
GeneralRe: IWebBrowser2 and Document Pin
Philip Patrick20-May-02 20:53
professionalPhilip Patrick20-May-02 20:53 
QuestionTabbed CView ala Excel? Pin
Robert Vista20-May-02 11:48
Robert Vista20-May-02 11:48 
QuestionPress enter in combobox? Pin
20-May-02 11:11
suss20-May-02 11:11 
AnswerRe: Press enter in combobox? Pin
James R. Twine20-May-02 11:14
James R. Twine20-May-02 11:14 
Generalstd::string transformation Pin
Carlos Sánchez García20-May-02 10:54
Carlos Sánchez García20-May-02 10:54 
GeneralRe: std::string transformation Pin
Joaquín M López Muñoz20-May-02 11:08
Joaquín M López Muñoz20-May-02 11:08 
GeneralRe: std::string transformation Pin
Joaquín M López Muñoz20-May-02 21:03
Joaquín M López Muñoz20-May-02 21:03 
OK, now that I've got a compiler handy could I try your program.
The problem stems from the inability of std::ptr_fun to handle const arguments. If you declare func as const std::string func ( char s ) your program will compile. Alternatively, you can omit the use of std::ptr_fun altogether and pass func directly, with its const args and all.
As for the lots of warnings appearing, in case you don't know they're innocuous and can be eliminated with #pragma warning(disable:4786)

Joaquín M López Muñoz
Telefónica, Investigación y Desarrollo
GeneralPointer to member function Pin
Aaron Schaefer20-May-02 10:50
Aaron Schaefer20-May-02 10:50 
GeneralRe: Pointer to member function Pin
Joaquín M López Muñoz20-May-02 10:58
Joaquín M López Muñoz20-May-02 10:58 
GeneralRe: Pointer to member function Pin
Aaron Schaefer21-May-02 3:34
Aaron Schaefer21-May-02 3:34 
GeneralRe: Pointer to member function Pin
Chris Losinger20-May-02 11:04
professionalChris Losinger20-May-02 11:04 
GeneralRe: Pointer to member function Pin
Aaron Schaefer21-May-02 3:31
Aaron Schaefer21-May-02 3:31 
GeneralRe: Pointer to member function Pin
Chris Losinger21-May-02 5:40
professionalChris Losinger21-May-02 5:40 
GeneralRe: Pointer to member function Pin
Aaron Schaefer21-May-02 7:07
Aaron Schaefer21-May-02 7:07 
GeneralRe: Pointer to member function Pin
Aaron Schaefer21-May-02 7:09
Aaron Schaefer21-May-02 7:09 
GeneralRe: Pointer to member function Pin
Chris Losinger21-May-02 8:09
professionalChris Losinger21-May-02 8:09 
GeneralRe: Pointer to member function Pin
Aaron Schaefer21-May-02 8:17
Aaron Schaefer21-May-02 8:17 
GeneralRe: Pointer to member function Pin
James R. Twine20-May-02 11:00
James R. Twine20-May-02 11:00 
GeneralRe: Pointer to member function Pin
Ernest Laurentin20-May-02 11:14
Ernest Laurentin20-May-02 11:14 
GeneralRe: Pointer to member function Pin
Aaron Schaefer21-May-02 3:33
Aaron Schaefer21-May-02 3:33 
GeneralRe: Pointer to member function Pin
Aaron Schaefer21-May-02 3:40
Aaron Schaefer21-May-02 3:40 
GeneralRe: Pointer to member function Pin
hex20-May-02 16:18
hex20-May-02 16:18 
GeneralRe: Pointer to member function Pin
Aaron Schaefer21-May-02 3:42
Aaron Schaefer21-May-02 3:42 
GeneralSetItemData() and DWORD_PTR Pin
dazinith20-May-02 10:37
dazinith20-May-02 10:37 

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.