|
|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
1. Open Microsoft Visual Studio.! K% M# o4 H& n& G) s
2. Create a new VC++ project using the NX Open AppWizard.
. q+ N! ~4 i! l- @ Create new project as:6 \" K1 v# g6 @% }( o7 r, H
2.1 File->New->Project., J7 l# b- _. P" I. p5 K9 ^
2.2 Select VC++ Project using the NX Open AppWizard, DLL Library Application,
+ T1 q) A- e) J5 o Enter name as ExecuteCheckerAndGetResults. Click Next.+ \. B; a1 @3 z) w: w- B
2.3 Under Application Settings, select 'An Internal application that can be, v1 V3 E) l* J6 X: h7 F
activated from an NX session (DLL)'.( N: J/ R* J8 m2 }" `' I9 f: h
2.4 Select C++ for What language would you like to use in the generated
' B6 B9 G( I2 E! m! W1 W8 o3 n+ Q source files. Click Finish.4 v9 n* L% `4 t. } q
3. Add the ExecuteCheckerAndGetResults.cpp to the project by selecting the Project
+ T# O" v1 `' q8 ?" s pull down and select "Add Existing Item...". Select the file using the popup window.2 D- c4 R7 h$ p! ^; ~
4. Right-click this project in the Solution Explorer and select Properties on the popup menu.1 w) H! w8 c4 l( |# X
On the Property Pages dialog, click Configuration Manager... button to open Configuration Manager dialog., E6 U9 s# j; r7 X$ e( L/ C
Select x64 for Active solution platform in the Configuration Manager when use 64 bit NX. Click Close button.
4 ` `6 L; a3 t2 h+ q. H % J% \) J% r& J) H' i
Click Configuration Properties->C/C++->General to confirm $(UGII_BASE_DIR)\ugopen is existing in Additional
( h7 N( H# c+ E9 s8 a Include Directories.
2 K8 e/ H$ m2 e ^
6 I/ G( g' C0 H4 C9 o$ c Click Configuration Properties->Linker->General to confirm $(UGII_BASE_DIR)\ugopen is existing in Additional
0 T: h" f7 {1 E. z5 K9 R- u: l' E3 o Library Directories.
7 E4 w* \$ ]% u% L) q3 V% G: R
9 k. D9 S/ A U5 x! `2 o# r7 U Click Configuration Properties->Linker->Input to confirm libnxopencpp.lib;libnxopencpp_validate.lib are9 V' H* ^2 l# E
existing in Additional Dependencies.
) M) F+ P2 S M' @3 T" l Click OK button to close Configuration Manager dialog., ?: t0 i" ?& e$ `0 a# o3 U7 O
) {$ z& D; G$ G) ]" x* T
' M5 r. k6 C7 R0 h7 d1 X
5. Build the internal image by going to the Build menu and selecting either "Build Solution" or "Rebuild Solution".
3 H0 ?( ~: @3 d1 F. i& } This will create an executable called ExecuteCheckerAndGetResults.dll in the Debug directory.
1 Q; F9 d0 \0 {2 Y7 S4 C6 d* _3 W) L
|
|