几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量

几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量 (http://www.dimcax.com/hust/index.php)
-   ObjectARX(VB.NET/C#) (http://www.dimcax.com/hust/forumdisplay.php?f=176)
-   -   求救!大家帮忙看看为什么在antrypoint 里面如此设置背景会崩溃 (http://www.dimcax.com/hust/showthread.php?t=9894)

yang686526 2009-04-21 04:41 PM

求救!大家帮忙看看为什么在antrypoint 里面如此设置背景会崩溃
 
求救!大家帮忙看看为什么在antrypoint 里面如此设置背景会崩溃
www.dimcax.com
求救!大家帮忙看看为什么在antrypoint 里面如此设置背景会崩溃
averrorcode retval; avbackgroundparam bgparam; bgparam.imagefile.name="c:\\documents and settings\\admin\\my documents\\my pictures\\sunset.jpg"; bgparam.imagefile.tile=avtilecrop; bgparam.imagefile.offset[x]=0.0; bgparam.imagefile.offset[y]=0.0; bgparam.imagefile.scale[x]=1.0; bgparam.imagefile.scale[y]=1.0; bgparam.imagefile.flags=avmapscale|avmaprepeat|avmapoffset|avmapname; bgparam.mode=avbackgroundimage; bgparam.flags=avbackgroundimagefile; if((retval = av_background(&bgparam))!= avretnorm) { afxmessagebox(av_errorstr(retval)); afxmessagebox("background setting false"); }
bgparam.imagefile.flags=avmapscale|avmaprepeat|avmapoffset|avmapname; 同时设置背景文件的scale,offset,repeat,name 为什么会崩溃


所有的时间均为北京时间。 现在的时间是 12:56 PM.