[CONNECT] Duplicate resource type xAtl

I've done something wrong while editing my dialog resource.  I'm seeing this message:

### Error: Duplicate: File=(G:\PROGRA~1\Bentley\MICROS~2\MICROS~1\mdlapps\AreaAnnotator.ma), 
		 TypeId=('xAtL') RscId=(20)

[Edit]

Well, it's an RTYPE_ExtAttrList, which I use to attach info bubbles and balloon to dialog items.  Here's an example...

DItem_ComboBoxRsc COMBOBOXID_TextStyle =
{
    NOCMD, LCMD, NOSYNONYM, NOHELP, MHELPTOPIC,
    HOOK_CBO_TextStyle, NOARG,
    36, '', '', '', '', NOMASK,
    0, 12, 4, 0, 0,
    COMBOATTR_READONLY | COMBOATTR_DISPLAYALLCOLUMNS |
    COMBOATTR_FONTBYCOLUMN | COMBOATTR_FULLWIDTH,
    TXT_cboTextStyle,
    'g_vars.textStyle',
	{	//	Column Captions
        {14*XC,  36, ALIGN_LEFT, TXT_colTextStyle},
	}
	}
    extendedAttributes
    {{
    {EXTATTR_FLYTEXT, TXT_Flyover_TextStyle},
    {EXTATTR_BALLOON, TXT_Balloon_TextStyle},
    }
};

However, I can't see any duplicate extendedAttributes, so the resource linker message remains a mystery.

Parents
  • I have seen this error (randomly) as well when remaking all (bmake -a) after adding a new resource:

    "### Error: Duplicate: File=(E:\000_Loren\mdl\terraToolsCE\terraTools.ma), TypeId=('WIG_') RscId=(1)".

    However,

    1. It doesn't seem to effect the MA file (new/modified resources work as designed)
    2. It seems to be a new error with uStn update 13 or 14
    3. I was able to reproduce it three times today and capture the output (attached)
    4. Deleting the MA file by hand prior to the build fixes the error.

    buildoutput.txt

    I've had similar problems with MicroStation not releasing file handles for certain types (SHP/DBF and KML) when using fclose(), reported it through a service request and it was fixed in subsequent versions. So I believe it's not a problem with the resource definition but with the MA file handle not being released/unlocked when unloaded in MicroStation.  

Reply
  • I have seen this error (randomly) as well when remaking all (bmake -a) after adding a new resource:

    "### Error: Duplicate: File=(E:\000_Loren\mdl\terraToolsCE\terraTools.ma), TypeId=('WIG_') RscId=(1)".

    However,

    1. It doesn't seem to effect the MA file (new/modified resources work as designed)
    2. It seems to be a new error with uStn update 13 or 14
    3. I was able to reproduce it three times today and capture the output (attached)
    4. Deleting the MA file by hand prior to the build fixes the error.

    buildoutput.txt

    I've had similar problems with MicroStation not releasing file handles for certain types (SHP/DBF and KML) when using fclose(), reported it through a service request and it was fixed in subsequent versions. So I believe it's not a problem with the resource definition but with the MA file handle not being released/unlocked when unloaded in MicroStation.  

Children
No Data