说明:双击或选中下面任意单词,将显示该词的音标、读音、翻译等;选中中文或多个词,将显示翻译。
您的位置:首页 -> 词典 -> 陕北开发
1)  development of the north of Shaanxi
陕北开发
2)  northern shaanxi resources development
陕北资源开发
3)  Energy development zone in northern Shanxi
陕北能源开发区
4)  Northern Shaanxi Province
陕北
1.
Analysis on Conforming of Tourism Resources of Northern Shaanxi province;
陕北旅游资源的整合分析研究
2.
Canonical Correspondence Analysis of Relationship between Land Use and Agricultural Investments in Cropping System of Northern Shaanxi Province;
陕北种植业土地利用与农业投入关系的典范对应分析
3.
Characteristic on rural settlements distribution and its land use in loess hill-gully area of Northern Shaanxi province;
陕北黄土丘陵沟壑区乡村聚落分布及其用地特征
5)  North of Shaanxi
陕北
1.
Environment Protection Responsibility and Development Countermeasures about Petroleum Enterprise in North of Shaanxi;
陕北石油企业环保责任与发展对策
2.
Advantageous Mixed Fruit Tree Resources in the North of Shaanxi;
浅谈陕北优势杂果资源及开发利用
3.
The Benefit Analysis of Facility Agriculture in North of Shaanxi;
陕北设施农业的效益分析
6)  North Shaanxi
陕北
1.
Analyses on Characteristics and Typical Modes of Ecological and Environmental Construction in North Shaanxi;
陕北生态环境建设特点与典型模式分析
2.
Analysis of "01.7" rainstorm flood at Huangling in north Shaanxi;
陕北黄陵“01.7”暴雨洪水分析
3.
On the environmental problem caused by reservoirs in North Shaanxi;
论陕北库坝群的环境问题
补充资料: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()中.

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