Click here to Skip to main content
15,906,463 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Information on win32 OS and timing behaviour. Pin
Stuart Dootson9-Jul-09 13:11
professionalStuart Dootson9-Jul-09 13:11 
GeneralRe: Information on win32 OS and timing behaviour. Pin
Souldrift12-Jul-09 21:54
Souldrift12-Jul-09 21:54 
GeneralRe: Information on win32 OS and timing behaviour. Pin
Stuart Dootson12-Jul-09 22:09
professionalStuart Dootson12-Jul-09 22:09 
Questionhow to acheive communication betwwen two dilog boxes using socket programming Pin
kir_MFC9-Jul-09 2:26
kir_MFC9-Jul-09 2:26 
AnswerRe: how to acheive communication betwwen two dilog boxes using socket programming Pin
Adam Roderick J9-Jul-09 2:37
Adam Roderick J9-Jul-09 2:37 
QuestionSetConsoleCtrlHandler does not work in Windows Vista and Windows 7? Pin
hackcrackvirus9-Jul-09 2:23
hackcrackvirus9-Jul-09 2:23 
AnswerRe: SetConsoleCtrlHandler does not work in Windows Vista and Windows 7? Pin
Stuart Dootson9-Jul-09 13:05
professionalStuart Dootson9-Jul-09 13:05 
QuestionShellExecute() function opens a blank page Pin
venera_soft9-Jul-09 1:32
venera_soft9-Jul-09 1:32 
Hi All,
I have a problem. I want to open an .htm file in default browser(firefox), so i use ShellExecute() function.
It opens a blank page. When i put in that directory another file with the same name it opens properly.
So the problem cannot regard to file path. And i have tried another thing: if I drag and drop the .htm file into either ie or firefox, it displays correctly.
The code is here:

std::wstring url = "file:///C:/DOCUME~1/MACADA~1/LOCALS~1/Temp/messages.htm";
std::wstring defaultBrowser = getDefaultBrowser();
ShellExecute(NULL, NULL, defaultBrowser.c_str(), url.c_str(), NULL, SW_SHOWNORMAL);

Anyone has a clue what can be the reason of this problem?
Thanks
AnswerRe: ShellExecute() function opens a blank page Pin
«_Superman_»9-Jul-09 1:45
professional«_Superman_»9-Jul-09 1:45 
AnswerRe: ShellExecute() function opens a blank page Pin
Jijo.Raj9-Jul-09 1:54
Jijo.Raj9-Jul-09 1:54 
AnswerRe: ShellExecute() function opens a blank page Pin
Rajesh R Subramanian9-Jul-09 2:06
professionalRajesh R Subramanian9-Jul-09 2:06 
GeneralRe: ShellExecute() function opens a blank page Pin
venera_soft9-Jul-09 2:20
venera_soft9-Jul-09 2:20 
Questionpointers to class Pin
hrishiS9-Jul-09 1:02
hrishiS9-Jul-09 1:02 
QuestionRe: pointers to class Pin
Adam Roderick J9-Jul-09 1:14
Adam Roderick J9-Jul-09 1:14 
AnswerRe: pointers to class Pin
hrishiS9-Jul-09 1:26
hrishiS9-Jul-09 1:26 
GeneralRe: pointers to class Pin
Adam Roderick J9-Jul-09 1:37
Adam Roderick J9-Jul-09 1:37 
QuestionRe: pointers to class Pin
CPallini9-Jul-09 1:41
mveCPallini9-Jul-09 1:41 
AnswerRe: pointers to class Pin
«_Superman_»9-Jul-09 1:49
professional«_Superman_»9-Jul-09 1:49 
QuestionRAII / RIIA best-practices question about std::vector Pin
Mike the Red9-Jul-09 0:30
Mike the Red9-Jul-09 0:30 
AnswerRe: RAII / RIIA best-practices question about std::vector Pin
Stuart Dootson9-Jul-09 2:06
professionalStuart Dootson9-Jul-09 2:06 
QuestionSo, that means.... Pin
Mike the Red9-Jul-09 2:23
Mike the Red9-Jul-09 2:23 
AnswerRe: Fair 'nuff, but, if vector deallocates, can you see why this leaks: Pin
Stuart Dootson9-Jul-09 2:25
professionalStuart Dootson9-Jul-09 2:25 
Jokeheh.. beat my edit by 2 minutes ; P       -nt- Pin
Mike the Red9-Jul-09 2:33
Mike the Red9-Jul-09 2:33 
GeneralRe: heh.. beat my edit by 2 minutes ; P       -nt- Pin
Stuart Dootson9-Jul-09 2:36
professionalStuart Dootson9-Jul-09 2:36 
Questioncolored tabcontrol for smartphone Pin
emre079-Jul-09 0:24
emre079-Jul-09 0:24 

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.