Click here to Skip to main content
15,911,306 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
AnswerRe: ATL_MSG_MAP identifier not found Pin
josip cagalj13-Jan-09 23:13
josip cagalj13-Jan-09 23:13 
AnswerRe: ATL_MSG_MAP identifier not found Pin
Stuart Dootson13-Jan-09 23:23
professionalStuart Dootson13-Jan-09 23:23 
GeneralRe: ATL_MSG_MAP identifier not found Pin
josip cagalj13-Jan-09 23:35
josip cagalj13-Jan-09 23:35 
GeneralRe: ATL_MSG_MAP identifier not found Pin
Stuart Dootson13-Jan-09 23:43
professionalStuart Dootson13-Jan-09 23:43 
GeneralRe: ATL_MSG_MAP identifier not found Pin
josip cagalj14-Jan-09 2:51
josip cagalj14-Jan-09 2:51 
GeneralRe: ATL_MSG_MAP identifier not found Pin
Stuart Dootson14-Jan-09 3:29
professionalStuart Dootson14-Jan-09 3:29 
Questionwhat is the event i should use Pin
prasadbuddhika7-Jan-09 23:05
prasadbuddhika7-Jan-09 23:05 
QuestionHow to get timer id from onTimer() in WTL Pin
josip cagalj7-Jan-09 22:05
josip cagalj7-Jan-09 22:05 
AnswerRe: How to get timer id from onTimer() in WTL Pin
Stuart Dootson7-Jan-09 22:48
professionalStuart Dootson7-Jan-09 22:48 
GeneralRe: How to get timer id from onTimer() in WTL Pin
josip cagalj7-Jan-09 22:58
josip cagalj7-Jan-09 22:58 
AnswerRe: How to get timer id from onTimer() in WTL Pin
josip cagalj7-Jan-09 23:05
josip cagalj7-Jan-09 23:05 
GeneralRe: How to get timer id from onTimer() in WTL Pin
Stuart Dootson7-Jan-09 23:09
professionalStuart Dootson7-Jan-09 23:09 
GeneralRe: How to get timer id from onTimer() in WTL Pin
josip cagalj7-Jan-09 23:13
josip cagalj7-Jan-09 23:13 
AnswerRe: How to get timer id from onTimer() in WTL Pin
josip cagalj7-Jan-09 23:17
josip cagalj7-Jan-09 23:17 
GeneralRe: How to get timer id from onTimer() in WTL Pin
Stuart Dootson7-Jan-09 23:24
professionalStuart Dootson7-Jan-09 23:24 
GeneralRe: How to get timer id from onTimer() in WTL Pin
josip cagalj7-Jan-09 23:56
josip cagalj7-Jan-09 23:56 
GeneralRe: How to get timer id from onTimer() in WTL Pin
Stuart Dootson8-Jan-09 0:30
professionalStuart Dootson8-Jan-09 0:30 
QuestionNot getting events in ATL Pin
DrkAngr6-Jan-09 8:56
DrkAngr6-Jan-09 8:56 
QuestionWTL Tab icon headache Pin
Nicolai M2-Jan-09 12:41
Nicolai M2-Jan-09 12:41 
AnswerRe: WTL Tab icon headache Pin
JaydeepB6-Jan-09 10:36
JaydeepB6-Jan-09 10:36 
QuestionRe: WTL Tab icon headache Pin
Nicolai M14-Jan-09 1:42
Nicolai M14-Jan-09 1:42 
QuestionSTL string::const_iterator problem converting code from VC6 to VS2008. Pin
Neville Franks28-Dec-08 12:55
Neville Franks28-Dec-08 12:55 
The following code compiled fine on VC6, but won't on VS2008. The first param to regex_search() does not match any of the function signatures.

    string::const_iterator ssource_pos;
    const boost::match_flag_type mflags = boost::match_default | boost::match_not_dot_newline | boost::format_default;
    const boost::regex re( sre, boost::regex::perl | boost::regex::icase );
    boost::match_results<std::string::const_iterator xmlns:std="#unknown"> what;
    const bool bstat = boost::regex_search( ssource_pos, what, re, mflags );
</std::string::const_iterator>


In VC6 it must have been happy using:

bool regex_search(const basic_string<chart,>& s, 
                  match_results<<br mode="hold" />                      typename basic_string<chart,>::const_iterator, 
                      Allocator>& m, 
                  const basic_regex<chart,>& e, 
                  match_flag_type flags = match_default); 


but in VS2008 I get:

1>s:\libs\saigcontrols\strlib\sgstr_parse.cpp(628) : error C2780: 'bool boost::regex_search(const std::basic_string<chart,st,sa> &,const boost::basic_regex<chart,traits> &,boost::regex_constants::match_flag_type)' : expects 3 arguments - 4 provided
1>        s:\libs\boost_1_33_1\boost\regex\v4\regex_search.hpp(152) : see declaration of 'boost::regex_search'
1>s:\libs\saigcontrols\strlib\sgstr_parse.cpp(628) : error C2780: 'bool boost::regex_search(const charT *,const boost::basic_regex<chart,traits> &,boost::regex_constants::match_flag_type)' : expects 3 arguments - 4 provided
1>        s:\libs\boost_1_33_1\boost\regex\v4\regex_search.hpp(144) : see declaration of 'boost::regex_search'
1>s:\libs\saigcontrols\strlib\sgstr_parse.cpp(628) : error C2782: 'bool boost::regex_search(BidiIterator,BidiIterator,const boost::basic_regex<chart,traits> &,boost::regex_constants::match_flag_type)' : template parameter 'BidiIterator' is ambiguous


I would have though using:

const bool bstat = boost::regex_search( *ssource_pos, what, re, mflags );


would resolve this but it doesn't.

Boost reference is here: http://www.boost.org/doc/libs/1_33_1/libs/regex/doc/regex_search.html[^]

I am not using the latest Boost release, yet.

Neville Franks, Author of Surfulater www.surfulater.com "Save what you Surf" and ED for Windows www.getsoft.com


AnswerRe: STL string::const_iterator problem converting code from VC6 to VS2008. Pin
Andy Moore29-Dec-08 6:52
Andy Moore29-Dec-08 6:52 
GeneralRe: STL string::const_iterator problem converting code from VC6 to VS2008. Pin
Neville Franks29-Dec-08 9:52
Neville Franks29-Dec-08 9:52 
GeneralRe: STL string::const_iterator problem converting code from VC6 to VS2008. Pin
Stuart Dootson29-Dec-08 14:04
professionalStuart Dootson29-Dec-08 14:04 

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.