Click here to Skip to main content
15,893,161 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionhow to spy++ a windows which will hide when it lose focus? Pin
code_discuss6-Apr-08 17:24
code_discuss6-Apr-08 17:24 
GeneralRe: how to spy++ a windows which will hide when it lose focus? Pin
CPallini6-Apr-08 21:35
mveCPallini6-Apr-08 21:35 
GeneralRe: how to spy++ a windows which will hide when it lose focus? Pin
code_discuss6-Apr-08 21:55
code_discuss6-Apr-08 21:55 
GeneralCStdioFile problem Pin
lisoft6-Apr-08 16:24
lisoft6-Apr-08 16:24 
GeneralRe: CStdioFile problem Pin
nisha000006-Apr-08 18:11
nisha000006-Apr-08 18:11 
GeneralRe: CStdioFile problem Pin
lisoft6-Apr-08 18:47
lisoft6-Apr-08 18:47 
GeneralRe: CStdioFile problem Pin
nisha000006-Apr-08 19:40
nisha000006-Apr-08 19:40 
GeneralRe: CStdioFile problem Pin
krmed7-Apr-08 1:50
krmed7-Apr-08 1:50 
The way you show your m_filename is not an absolute path, but a relative path.

When you run from within VS (Ctrl_F5) the default working directory is the same folder as your .sln/.vcproj file. Let's say it's "MyProg", thefore you would attempt to open the file in VS, the path would be
MyProg\some absolute file path\name
However, if you run it from the Windows Explorer (double click on it) the default directory would be the location of the .exe. In this case, it might be
MyProg\debug\some absolute file path\name
The CStdioFile.Open will not create directories if the don't exist, and that would cause it to fail.

Perhaps if you show the actual contents of your m_filename it may be helpful.

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: CStdioFile problem Pin
lisoft7-Apr-08 15:18
lisoft7-Apr-08 15:18 
GeneralRe: CStdioFile problem Pin
krmed8-Apr-08 0:47
krmed8-Apr-08 0:47 
GeneralRe: CStdioFile problem Pin
Hamid_RT8-Apr-08 7:21
Hamid_RT8-Apr-08 7:21 
GeneralOn implementing a virtual keyboard Pin
Llasus6-Apr-08 16:10
Llasus6-Apr-08 16:10 
QuestionWhere Does a static attribute reside in a Object ?? Pin
ForNow6-Apr-08 15:57
ForNow6-Apr-08 15:57 
AnswerRe: Where Does a static attribute reside in a Object ?? Pin
Dan6-Apr-08 17:53
Dan6-Apr-08 17:53 
GeneralRe: Where Does a static attribute reside in a Object ?? Pin
ForNow7-Apr-08 15:52
ForNow7-Apr-08 15:52 
GeneralFile Access Privileges Pin
Richard Andrew x646-Apr-08 15:56
professionalRichard Andrew x646-Apr-08 15:56 
Generallink adatabase to adialog based application Pin
lahom6-Apr-08 12:29
lahom6-Apr-08 12:29 
GeneralRe: link adatabase to adialog based application Pin
Hamid_RT8-Apr-08 7:21
Hamid_RT8-Apr-08 7:21 
Generaldrawing a cercle by code [modified] Pin
Schehaider_Aymen6-Apr-08 9:42
Schehaider_Aymen6-Apr-08 9:42 
GeneralRe: drawing a cercle by code Pin
Mark Salsbery6-Apr-08 11:04
Mark Salsbery6-Apr-08 11:04 
GeneralRe: drawing a cercle by code Pin
Schehaider_Aymen6-Apr-08 11:05
Schehaider_Aymen6-Apr-08 11:05 
QuestionRe: drawing a cercle by code Pin
CPallini6-Apr-08 11:19
mveCPallini6-Apr-08 11:19 
GeneralRe: drawing a cercle by code Pin
Mark Salsbery6-Apr-08 11:21
Mark Salsbery6-Apr-08 11:21 
GeneralRe: drawing a cercle by code Pin
CPallini6-Apr-08 21:23
mveCPallini6-Apr-08 21:23 
GeneralRe: drawing a cercle by code Pin
Schehaider_Aymen6-Apr-08 11:23
Schehaider_Aymen6-Apr-08 11:23 

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.