« first day (194 days earlier)      last day (2661 days later) » 

12:15 AM
http://stackoverflow.com/questions/41774282/extracting-substrings-using-boostregex-from-textfile

Can anyone help me figure out how/what I'm doing wrong with the regex part?
 
I can't find a regex pattern in your code?
also please add the includes in the code in your question
because now I have to add them again when I want to debug the issue on my PC
 
Ok
@milleniumbug I added the includes, and also the regex
Which happens to be the first one on this site: regular-expressions.info/email.html
 
 
20 hours later…
8:06 PM
hi guys
I am trying to build a "select folder" dialog and get the path of the selected folder using the WinAPI in C++
I have this code which gets an ITEMIDLIST for the selected folder
LPWSTR dirPath = nullptr;
BROWSEINFO bi = { 0 };

bi.hwndOwner = hDlg;
bi.lpszTitle = L"Select the directory where the monitoring logs are held";
bi.pszDisplayName = dirPath;
bi.ulFlags = BIF_RETURNONLYFSDIRS | BIF_USENEWUI;

LPITEMIDLIST pidlSelected = SHBrowseForFolder(&bi);
but I cannot find a way to get a string path from the list
 
5 messages moved from Lounge<C++>
 
@milleniumbug could you also help me with this, please?
 
have you seen the docs
 
@milleniumbug I read that but I still don't see anything helpful
 
you must have skipped the three times the SHGetPathFromIDList is referenced then
 
8:18 PM
@milleniumbug nope. I used that, but I got an exception. Now I found the problem... thank you very much
sorry for wasting your time
 

« first day (194 days earlier)      last day (2661 days later) »