[MS 8i C++] Resource files : how can we save a resource file

Hi everybody,

In our applications, we have used this to save a resource file:

    mdlResource_closeFile(ggAlmHdlGblSys);
    ggAlmHdlGblSys = 0;
    mdlResource_openFile(&ggAlmHdlGblSys, filename, RSC_READWRITE);

It has always worked fine but since Connect Advisor has been installed with MicroStation, the function mdlResource_openFile always return MDLERR_FILEREADONLY

If we uninstall Connect Advisor, everything is ok. Is there any other solution save our resource file?
We used to save this resource file to avoid to lost all the modifications we do in this file in case of a bug in our software... may be it's not really necessary?

Regrads

Hervé

Parents Reply Children
No Data