几何尺寸与公差论坛

 找回密码
 注册
查看: 105|回复: 1

PR 248562 loading program in debug build that has FCF profile commands gives

[复制链接]
发表于 2008-12-26 14:08:05 | 显示全部楼层 |阅读模式
loading program in debug build that has FCF profile commands gives "do not use search_id to serialize" dialogs
<< Don Turcotte  --  06/05/07  15:22:36>>
loading program in debug build that has FCF profile commands gives "do not use search_id to serialize. Use SerializeCmdPtrAsUID instead" dialogs.
Steps to reproduce:
Run V42 beta debug build.
Load attached program
Results:
Get multiple dialogs for "do not use search_id to serialize. Use SerializeCmdPtrAsUID instead"
Expected Results:
No such dialogs when de-serializing.
<<END>>

<< Changes made by Neil Kay -- 12/12/08  09:24:15>>
Action:  Wade Burton to Yanhua Huang, Assigned:  Don Turcotte to CMM Group
<<END>>
<< Changes made by Neil Kay -- 07/23/08  11:44:24>>
Action:  David Petrizze to Wade Burton
<<END>>
<< Don Turcotte  --  06/07/07  15:41:44>>
This has been fixed in V42 beta and V43B.  You will have to do a SaveAs of the existing program to get the new serialization changes in Simultaneous Evaluation to take effect.  I also fixed some issues in BF3D_align that caused the same error message.
Files inserted to server
------------------------
V42\ALIGNMNT\BF3D_ALI.CPP
V42\DIMENS\SIMULTANEOUS_EVALUATION.CPP
V42\INCLUDE\GLOBALS.H
V43B\ALIGNMNT\BF3D_ALI.CPP
V43B\DIMENS\SIMULTANEOUS_EVALUATION.CPP
V43B\INCLUDE\GLOBALS.H

<<END>>
<< Changes made by Don Turcotte -- 06/07/07  15:42:04>>
Action:  Don Turcotte to David Petrizze, Status:  OPEN to REVIEW
<<END>>
 楼主| 发表于 2008-12-26 14:28:19 | 显示全部楼层

回复: PR 248562 loading program in debug build that has FCF profile commands

V43B\DIMENS\SIMULTANEOUS_EVALUATION.CPP      
if (numFCFs > 0)
        {
          for( long ii = 0; ii < numFCFs; ii++ )
          {
            if( (GetPRGSchema(m_pPartProgram) < 3273) || (GetPRGSchema(m_pPartProgram) >= 3500 && GetPRGSchema(m_pPartProgram) < 3607) ) // PR248562
            {
              SERIALIZESIMPLEREAD(archive,unid);
              if (unid)
                FCFlist.Add(search_UID(m_pPartProgram,unid));
            }
            else // PR248562
            {
              CPCDcommand * pFCF = NULL;
              SerializeCmdPtrAsUID(m_pPartProgram,archive,pFCF, this);
              if( pFCF )
                FCFlist.Add(pFCF);
            }
          }
您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|Archiver|小黑屋|几何尺寸与公差论坛

GMT+8, 2024-12-23 01:08 , Processed in 0.036810 second(s), 20 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表