|
我用NX7.0生成了一个Block styler 的.dlx文件,同时还有.cpp和.hpp文件,我把.cpp和.hpp文件放入VS2005里面,但是运行的话在 theDialogName = "ZW_Centerline.dlx";
$ ?$ J6 z2 r# p7 N9 m- K: Q/ B' ltheDialog = ZW_Centerline::theUI->CreateDialog(theDialogName.c_str());
, l. R$ p. c: C1 \, {6 i" F7 u0 F& d) l0 W2 F Q: G
public: NXOpen::BlockStyler::BlockDialog * CreateDialog& h K+ ]8 @$ W, \
(
! k5 c9 }# A1 Y. |+ p$ ~7 r const NXString & dialogName /** Dialog name <br> NOTE: The full Unicode character set is not supported for this parameter. <br> */
# ^$ Z+ J C9 `8 p# |, e/ x1 S2 L3 { );6 U: P. T* S' `
$ ]& D0 ]8 P" r$ o) R: ^, w
始终提示:warning C4003: not enough actual parameters for macro 'CreateDialogA'
1 r3 z4 k; G0 `error C2059: syntax error : ',' |
|