Click here to Skip to main content
15,914,416 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to change the path were files are created Pin
dliviu3-May-12 0:46
dliviu3-May-12 0:46 
GeneralRe: How to change the path were files are created Pin
Richard MacCutchan3-May-12 0:57
mveRichard MacCutchan3-May-12 0:57 
GeneralRe: How to change the path were files are created Pin
dliviu3-May-12 1:07
dliviu3-May-12 1:07 
GeneralRe: How to change the path were files are created Pin
Richard MacCutchan3-May-12 1:30
mveRichard MacCutchan3-May-12 1:30 
GeneralRe: How to change the path were files are created Pin
David Crow6-May-12 15:24
David Crow6-May-12 15:24 
GeneralRe: How to change the path were files are created Pin
Vaclav_3-May-12 9:20
Vaclav_3-May-12 9:20 
GeneralRe: How to change the path were files are created Pin
Richard MacCutchan3-May-12 9:54
mveRichard MacCutchan3-May-12 9:54 
AnswerRe: How to change the path were files are created Pin
_AnsHUMAN_ 3-May-12 2:39
_AnsHUMAN_ 3-May-12 2:39 
You can always get the path from where the exe is running using GetModuleFileName and extract the required path and append it in the wfopen function for the file name .Then your file should be created in the app directory itself.
Though this is a strange behaviour that you are getting, this is just another way for achieving what you want.
You talk about Being HUMAN. I have it in my name
AnsHUMAN


modified 3-May-12 8:52am.

GeneralRe: How to change the path were files are created Pin
dliviu3-May-12 22:59
dliviu3-May-12 22:59 
GeneralRe: How to change the path were files are created Pin
Richard MacCutchan3-May-12 23:34
mveRichard MacCutchan3-May-12 23:34 
AnswerRe: How to change the path were files are created Pin
Erudite_Eric3-May-12 23:42
Erudite_Eric3-May-12 23:42 
GeneralRe: How to change the path were files are created Pin
dliviu4-May-12 0:17
dliviu4-May-12 0:17 
AnswerRe: How to change the path were files are created Pin
David Crow6-May-12 15:25
David Crow6-May-12 15:25 
QuestionSerialization MFC Pin
002comp2-May-12 2:03
002comp2-May-12 2:03 
AnswerRe: Serialization MFC Pin
Richard MacCutchan2-May-12 2:38
mveRichard MacCutchan2-May-12 2:38 
GeneralRe: Serialization MFC Pin
002comp2-May-12 3:03
002comp2-May-12 3:03 
GeneralRe: Serialization MFC Pin
Richard MacCutchan2-May-12 6:15
mveRichard MacCutchan2-May-12 6:15 
GeneralRe: Serialization MFC Pin
002comp2-May-12 18:26
002comp2-May-12 18:26 
GeneralRe: Serialization MFC Pin
Richard MacCutchan2-May-12 22:05
mveRichard MacCutchan2-May-12 22:05 
AnswerRe: Serialization MFC Pin
CPallini2-May-12 6:24
mveCPallini2-May-12 6:24 
GeneralRe: Serialization MFC Pin
002comp2-May-12 18:28
002comp2-May-12 18:28 
AnswerRe: Serialization MFC Pin
Chris Meech2-May-12 6:48
Chris Meech2-May-12 6:48 
QuestionRe: Serialization MFC Pin
David Crow2-May-12 7:26
David Crow2-May-12 7:26 
AnswerRe: Serialization MFC Pin
Chris Meech2-May-12 7:33
Chris Meech2-May-12 7:33 
AnswerRe: Serialization MFC Pin
dliviu3-May-12 0:07
dliviu3-May-12 0:07 

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.