This error can occur when you use WinDR from within PTD.
But, does not occur on all systems.
To avoid this error call WinDR.exe directly to create a .DEC file
To see some additional information see my thread on Automation Tutorial...
From what support shared with me, it appears that when WinDR is called from with in PTD the .DEC file is being pre-pended with a superflous header.
Removing the Superflous Header should fix the file.
Example: (BAD)
[ ] "PhantomTarget"
( )Tag=""
( )Class=""
( )Parent=0
( )Child=0
[ ]MainWin "Phantom"
( )Tag="Phantom Target"
( )Class="Afx:*"
( )Parent=1
( )Child=0
[ ]Menu
Example (GOOD)
[ ]MainWin "Calculator"
( )Tag="Calculator"
( )Class="SciCalc"
( )Parent=1
( )Child=0
[ ]Menu
( )Tag=""
( )Class="Menu"
( )Parent=0
( )Child=1
[ ]Menu "_Edit"