Pro/Toolkit 示例 1:异步启动 ProE
最编程
2024-03-04 13:23:36
...
1 #include <ProToolkit.h>
2 #include <ProCore.h>
3 #include <windows.h>
4
5 int main()
6 {
7 ProEngineerStart("F:\\PTC\\Wildfire3\\bin\\proe1.bat", "");
8 MessageBox(NULL, TEXT("Press OK to close Pro/E..."), TEXT("Message"), MB_OK);
9 ProEngineerEnd();
10 return 0;
11 }
2 #include <ProCore.h>
3 #include <windows.h>
4
5 int main()
6 {
7 ProEngineerStart("F:\\PTC\\Wildfire3\\bin\\proe1.bat", "");
8 MessageBox(NULL, TEXT("Press OK to close Pro/E..."), TEXT("Message"), MB_OK);
9 ProEngineerEnd();
10 return 0;
11 }