|
我用NX7.0生成了一个Block styler 的.dlx文件,同时还有.cpp和.hpp文件,我把.cpp和.hpp文件放入VS2005里面,但是运行的话在 theDialogName = "ZW_Centerline.dlx";
. G" t' o3 W' rtheDialog = ZW_Centerline::theUI->CreateDialog(theDialogName.c_str());9 O/ a+ v1 j" ^6 t6 O
( Z, R8 T; S! T$ k# t, A& y+ J public: NXOpen::BlockStyler::BlockDialog * CreateDialog
/ B3 b' p0 c/ L4 |, ? ( P6 m. `5 b6 ], T3 f7 T
const NXString & dialogName /** Dialog name <br> NOTE: The full Unicode character set is not supported for this parameter. <br> */
) e5 T( v8 C/ s' j& j );+ b! h ?' `5 m4 q0 e# \
- e$ h5 c( h; p, I
始终提示:warning C4003: not enough actual parameters for macro 'CreateDialogA'
: _6 W3 ]9 S* q7 c/ H3 a8 Herror C2059: syntax error : ',' |
|