Hi everybody,
Since the migration on MS Connect Edition, I have a problem with the function mdlRefFile_attach
I want to attach a file which has the same name than the active file but which is in another directory. The attachment works well but the attached file is the same than the active file. The function doesn't attach the file which is in the other directory.
In the function "mdlRefFile_attach ", I check that the correct directory is passed
mdlRefFile_attach(&ModelRefP,gFichierCompare,nom,L"",&origine,&origineref,1.0,NULL,0,NULL, DgnPlatform::REF_FILE_LEVEL_DISPLAY_DEFAULT,true,true);
WChar fileName[MAXFILELENGTH];
mdlModelRef_getFileName(ModelRefP, fileName, sizeof(fileName));
I control the result after the attachement, the file attached is not the good one.
As I said before, this procedure was working well in V8i.
Thanks for your help,
Hervé