说明:双击或选中下面任意单词,将显示该词的音标、读音、翻译等;选中中文或多个词,将显示翻译。
您的位置:首页 -> 词典 -> 开发与形成
1)  Development and formation
开发与形成
2)  exploitation and integration
开发与集成
3)  formation and development
形成与发展
1.
On formation and development of Marx Economic Crisis Theory;
论马克思经济危机理论的形成与发展
2.
The Formation and Development of the Taoist Theory-"Caverns of Heaven and Place of Blessing";
试论道教洞天福地理论的形成与发展
3.
The formation and development of settlements in the Yangtze River valley have gone through a long history and can be divided into following three stages:1.
长江流域住区的形成与发展经历了漫长的演变过程,大体可分为三个阶段:(1)上古时代的巢居与穴居阶段。
4)  formation and development
形成与发育
1.
Observation on formation and development of autotetraploid rice embryo sac using Laser Scanning Confocal Microscope;
利用激光扫描共聚焦显微镜观察同源四倍体水稻胚囊的形成与发育
5)  Formative development method
形成性开发法
6)  intangible development costs
无形开发成本
补充资料:Pro/E二次开发使用toolkit开发trigger的程序

使用toolkit开发trigger的程序时,往往需要能够连续通过trigger来触发dll中的函数.
我碰到的问题:
   1.配置trigger:
   Name: CimDll
   Event: Create PIV
   Time:  POST
   RequireNO
   DLL:Cim.dll
   Function:PDMTPIVCreatePostOperation
   
  2.源代码:
   int PDMDLLInit()
{
   PTCERROR pdm_status;
   FILE      *g_pfileLog;
   g_pfileLog =fopen("test.dat","w");
   setbuf(g_pfileLog,NULL);
   fprintf(g_pfileLog,"begin test\n");
   pdm_status = PDMTriggerRegister("PDMTPIVCreatePostOperation", PDMTPIVCreatePostOperation);
   if (pdm_status != PDM_SUCCESS)
   {  
    printf("Failed to Register Trigger PIV Create Post.\n");
   }
    return (pdm_status);
}


int PDMTPIVCreatePostOperation(int argc, void **argv)
{
   fprintf(g_pfileLog,"test\n");
   .....
   fprintf(g_pfileLog,"end test\n");
   fclose(g_pfileLog);


}


   结果:以上代码存在的问题:如果我们在第一次checkin到C/S中后,删除test.dat文件,然后再进行checkin时,发现没有再生成test.dat,在函数PDMTPIVCreatePostOperation()中所进行的对文件的操作都无效.
   原因:我们使用trigger触发时,真正起作用的是函数:PDMTPIVCreatePostOperation(),而PDMDLLInit()只是在第一次checkin时起作用,所以在第一次调用PDMTPIVCreatePostOperation()后,我就fclose(g_pfileLog),所以出现了上面的情况.所以注意的是:不要把一些重要的东西放在函数PDMDLLInit()中.

说明:补充资料仅用于学习参考,请勿用于其它任何用途。
参考词条