![]() |
【转帖】problem with output of layer names
problem with output of layer names
problem with output of layer names hallo, i'd like to store the names of the layers contained in the *.dwg file in a char array (char*). i use the function call "precord->getname()).c_str()", to get the ansistring content of the odstring object, but this function call returns only the first char of the string. is it possible to get the whole content of ansistring? thank's for your help!! regards, oliver c_str() returns wchar_t* use cast operator: (const char*) ps. note that names may be not convertible to the current codepage. it is safer to store unicode names. vladimir |
所有的时间均为北京时间。 现在的时间是 12:08 PM. |