SOL9 2.0 Sample: FileAttributes

SOL9 2.0 Samples

1 Screenshot


2 Source code

/*
 * FileAttributes.cpp 
 * Copyright (c) 2009 Antillia.com TOSHIYUKI ARAI. ALL RIGHTS RESERVED. 
 */


// SOL9
// 2008/09/15

#include <sol/FileAttributes.h>

void _tmain(int argc, TCHAR** argv)
{
    if (argc != 2) {
        _tprintf(_T("Usage:FileAttributes.exe fileName\n"));
        return;
    }
    try {
        const TCHAR* fileName = argv[1];

        FileAttributes attrs(fileName);

        attrs.display();


    } catch (...) {
        printf("Exception \n");
    }
}

Last modified: 11 Nov 2009

Copyright (c) 2009 Antillia.com ALL RIGHTS RESERVED.