Re: [AD] Windows unicode filename support

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


Trent Gamblin napsal(a):
Code with _wstat and _wfindfirst compiles with mingw32 under Windows 98, but I don't know how to test if it actually works.

Compile and run this code:

#define ALLEGRO_USE_CONSOLE
#include <allegro.h>

int main(int argc, char* argv[]) {
    if (argc != 2) return 1;
    install_allegro(SYSTEM_NONE, &errno, atexit);
    long l = file_size(argv[1]);
    printf("%ld\n", l);
    return 0;
}

and check if it prints correct filesizes.

--
Regards,
    Michal

ICQ# 175762750




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/