![]() |
【转帖】lpedge undeclared identifier
lpedge undeclared identifier
i am trying to get edges of a face using the api - igetedges(edgelist). but edgelist is the type of lpedge*. when i defined edgelist as lpedge*, the compiling errors shows that "error c2065:'lpedge': undeclared identifier". can anyone help me to get the edgelist (pointer to an array of edges). many thanks feng hi feng, you are tring to use the old style api programming. now, the use of lp... is deprecated and you must use the com interface pointers. in your case the correct use is iedge interface directly. you must create an array of iedge and then use it: iedge **parray = null; ... parray = new iedge*[count]; by turns, you could use the ole automation version of the method that use the variant type. simone quick |
所有的时间均为北京时间。 现在的时间是 07:42 PM. |