I am using mingw32ce on Linux.
the code follows:
FILE *fpin;
fpin=fopen("myfile.avs","rb+");
In makefile, i used arm-mingw32ce-gcc, make is ok.
But when it runs on wince5.0, the fpin returns NULL always.
"myfile.avs" and excutable file lies in the same directory.
2011-12-01
hdzhang26
You should use absolute path on ce.
On 2011-12-1 下午9:06, "hdzhang264" wrote:
> **
> I am using mingw32ce on Linux.
>
> the code follows:
>
> FILE *fpin;
> fpin=fopen("myfile.avs","rb+");
>
> In makefile, i used arm-mingw32ce-gcc, make is ok.
>
> But when it runs on wince5.0, the fpin returns NUL
I tried as follows:
fpin=fopen("//Software//myfile.avs","rb+");
fpin=fopen("/Software/myfile.avs","rb+");
fpin=fopen("\\Software\\myfile.avs","rb+");
("myfile.avs" is put under "Software" directory)
fpin still returns NULL!
2011-12-01
hdzhang264
发件人: Andy Wu
发送时间: 2011-12-01 21:08:0