Click here to Skip to main content
16,016,736 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Difference between Critical Sections over Mutex objects Pin
CodingLover13-Sep-11 17:39
CodingLover13-Sep-11 17:39 
GeneralRe: Difference between Critical Sections over Mutex objects Pin
ShilpiP13-Sep-11 18:39
ShilpiP13-Sep-11 18:39 
GeneralRe: Difference between Critical Sections over Mutex objects Pin
CodingLover13-Sep-11 21:21
CodingLover13-Sep-11 21:21 
QuestionProblem using IAccessible2 Pin
kartikdasani12-Sep-11 2:17
kartikdasani12-Sep-11 2:17 
Questionweb browser control difficulty Pin
doug2512-Sep-11 1:28
doug2512-Sep-11 1:28 
AnswerRe: web browser control difficulty Pin
CPallini12-Sep-11 2:16
mveCPallini12-Sep-11 2:16 
GeneralRe: web browser control difficulty Pin
doug2513-Sep-11 2:50
doug2513-Sep-11 2:50 
AnswerRe: web browser control difficulty Pin
krmed12-Sep-11 3:56
krmed12-Sep-11 3:56 
When you run an application from inside Visual Studio, the working directory is the directory containing the project files (.vcxproj, .sln). However when you run outside of VS, the working directory is the one containing the .exe file.

So if you are opening an html file with just a file name (e.g. open "MyTest.html") then that file must exist in the working directory. You should use full path names to avoid this problem. (You can use GetModuleFileName to find out the directory containing your exe).

Hope that helps.
Karl - WK5M
PP-ASEL-IA (N43CS)
PGP Key: 0xDB02E193
PGP Key Fingerprint: 8F06 5A2E 2735 892B 821C 871A 0411 94EA DB02 E193

GeneralRe: web browser control difficulty Pin
doug2513-Sep-11 2:59
doug2513-Sep-11 2:59 
AnswerRe: web browser control difficulty Pin
doug2513-Sep-11 11:18
doug2513-Sep-11 11:18 
QuestionMember function pionters in C++ Pin
Erudite_Eric12-Sep-11 0:30
Erudite_Eric12-Sep-11 0:30 
AnswerRe: Member function pionters in C++ Pin
Chris Losinger12-Sep-11 1:52
professionalChris Losinger12-Sep-11 1:52 
GeneralRe: Member function pionters in C++ Pin
Erudite_Eric12-Sep-11 2:09
Erudite_Eric12-Sep-11 2:09 
GeneralRe: Member function pionters in C++ Pin
CPallini12-Sep-11 2:13
mveCPallini12-Sep-11 2:13 
GeneralRe: Member function pionters in C++ Pin
Erudite_Eric12-Sep-11 2:33
Erudite_Eric12-Sep-11 2:33 
GeneralRe: Member function pionters in C++ Pin
MicroVirus12-Sep-11 3:08
MicroVirus12-Sep-11 3:08 
GeneralRe: Member function pionters in C++ Pin
Erudite_Eric12-Sep-11 3:09
Erudite_Eric12-Sep-11 3:09 
JokeRe: Member function pionters in C++ Pin
MicroVirus12-Sep-11 8:29
MicroVirus12-Sep-11 8:29 
GeneralRe: Member function pionters in C++ Pin
enhzflep12-Sep-11 18:27
enhzflep12-Sep-11 18:27 
GeneralRe: Member function pionters in C++ Pin
CPallini12-Sep-11 3:19
mveCPallini12-Sep-11 3:19 
GeneralRe: Member function pionters in C++ Pin
Erudite_Eric12-Sep-11 3:50
Erudite_Eric12-Sep-11 3:50 
GeneralRe: Member function pionters in C++ Pin
CPallini12-Sep-11 4:03
mveCPallini12-Sep-11 4:03 
GeneralRe: Member function pionters in C++ Pin
Erudite_Eric12-Sep-11 4:08
Erudite_Eric12-Sep-11 4:08 
QuestionRe: Member function pionters in C++ Pin
CPallini12-Sep-11 4:25
mveCPallini12-Sep-11 4:25 
AnswerRe: Member function pionters in C++ Pin
Erudite_Eric12-Sep-11 4:31
Erudite_Eric12-Sep-11 4:31 

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.