Subversion Repositories filter_foundry

Rev

Rev 440 | Rev 456 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 440 Rev 444
Line 102... Line 102...
102
                }
102
                }
103
        }
103
        }
104
 
104
 
105
        // If that didn't work, try to load as Windows image file (Resource API for 8BF/PRM files)
105
        // If that didn't work, try to load as Windows image file (Resource API for 8BF/PRM files)
106
        if (*reason == NULL) {
106
        if (*reason == NULL) {
107
                char name[MAX_PATH + 1];
-
 
108
                if (hm = LoadLibraryEx(myp2cstrcpy(name, sfr->sfFile.name), NULL, LOAD_LIBRARY_AS_DATAFILE)) {
107
                if (hm = LoadLibraryEx(sfr->sfFile.szName, NULL, LOAD_LIBRARY_AS_DATAFILE)) {
109
                        if (readPARMresource(hm, reason)) {
108
                        if (readPARMresource(hm, reason)) {
110
                                if (gdata->parm.iProtected) {
109
                                if (gdata->parm.iProtected) {
111
                                        *reason = _strdup("The filter is protected.");
110
                                        *reason = _strdup("The filter is protected.");
112
                                        //gdata->parmloaded = false;
111
                                        //gdata->parmloaded = false;
113
                                }
112
                                }