"Kevin Forker" <[EMAIL PROTECTED]> wrote in message
news:92510202AD65FD4A91F73772C35311101951B7@;chricton.dewnet.ncsc.mil...
> Having trouble creating working FindFiles callback function, need help!
>
> Here is what I am trying, if anyone can tell me what I am doing wrong it
would be appreciated.
>
> bool MyFalse(const char*)
> {
> return false;
> }
>
> int myfunction()
> {
> ,,,,,,
> RegEx expresion;
> .....
> exprestion.FindFile(MyFalse, string);
> }
>
> I get error:
>
> no matching function for call to 'boost::RegEx::FindFiles(bool (&) (const
char*), std::string&)'

If you are compiling for VC++ or BCB, is it possible that your function is
not using __cdecl calling convention. If the error is occuring when linking
instead, is it possible that there is some sort of name mangling mismatch
between your Regex++ library when you are building it and when you are using
it ?




_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Reply via email to