Re: _tfopen() problem
- From: Joseph M. Newcomer <newcomer@xxxxxxxxxxxx>
- Date: Sun, 19 Feb 2006 13:16:32 -0500
Well, we might have some hope if you gave something other than the vague "didn't work"
nonsense most people seem to think constitutes a proper question. How didn't it work?
What error code was returned? How do you know what device you were actually using as the
'current directory' at the time (my Pocket PC has both internal and external devices, such
as a memory card). Reporting "didn't work" without saying what happened merely means you
have a bug. If you want help fixing it, you need to say EXACTLY what went wrong.
Obtaining the current working directory and saying what it was would be a big help, also.
joe
On 12 Feb 2006 23:14:13 -0800, "grubbymaster" <grubbymaster@xxxxxxxxx> wrote:
HiJoseph M. Newcomer [MVP]
I'm building an application for Pocket PC's , and i want to save data
in a file in a specified path.I'm saving the file like this FILE *f =
_tfopen(TEXT("profiles.txt"),TEXT("a"));Can someone provide a method or
aexample on how to specify a certain path , like for example :
"\Program Files\MyApp".I've tried FILE *f = _tfopen(TEXT("\\Program
FIles\\MyApp\\profiles.txt"),TEXT("a")); and it didn't work.
10x
email: newcomer@xxxxxxxxxxxx
Web: http://www.flounder.com
MVP Tips: http://www.flounder.com/mvp_tips.htm
.
- Follow-Ups:
- Re: _tfopen() problem
- From: grubbymaster
- Re: _tfopen() problem
- References:
- _tfopen() problem
- From: grubbymaster
- _tfopen() problem
- Prev by Date: Re: resizable dialog window
- Next by Date: Re: modeless dialog and WM_MOUSEMOVE
- Previous by thread: _tfopen() problem
- Next by thread: Re: _tfopen() problem
- Index(es):
Relevant Pages
|