Two problems:


1. My prog is opening my own *.dat files but it also opens *.data files and probably all combiantions of *.dat???????


2. My program crushes when file name contains special national characters (but it's still not unicode)
Posted on 2003-07-24 04:32:08 by AceEmbler

Two problems:


1. My prog is opening my own *.dat files but it also opens *.data files and probably all combiantions of *.dat???????


2. My program crushes when file name contains special national characters (but it's still not unicode)


Hi,

1.Do you use FindFirstFile ? If yes then, yes this function finds *.dat, *.datx, *.datxxxxx etc. I think you better check the FindData.cFileName extension before opening.

Hope this helps,

Regards,

akyprian
Posted on 2003-07-24 07:06:15 by akyprian