[VSDK] CreateDataBase(const char* inFullPath, ...)

Eric Forget forgete at cafederic.com
Sat Mar 15 20:44:55 CST 2003


Hi,

The first parameter of CreateDataBase(const char* inFullPath, ...) is const.
However, FBL_Path2Spec() modify it. E.g.:

    char         filename[] = "/Users/eric/Database";
    
    CreateDataBase(filename);                   // Works
    CreateDataBase("/Users/eric/Database");     // Crashes on Mac OS X

Thanks,

Éric

___________________________________________________________________

 Eric Forget                       Cafederic
 ForgetE at cafederic.com             <http://www.cafederic.com/>

 Fingerprint <86D5 38F5 E1FD 5D9C 71C3  BAA3 797E 70A4 6210 C684>




More information about the Valentina mailing list