User guide C++ Protookit, Creotoolkit project setup vs2010

23
Protoolkit C++ project setup without make file Creo 2.0 and VS2010

Transcript of User guide C++ Protookit, Creotoolkit project setup vs2010

Protoolkit C++ project setup without make fileCreo 2.0 and VS2010

File New Project

Select Class Library

Select Visual C++

Enter Project Name & location

Click Ok to create new project

Newly created project hierarchy

AssemblyInfo.cpp Right mouse click Remove

Remove/Delete AssemblyInfo.cpp file

Click Delete to delete AssemblyInfo.cpp file

Open “ProjectName.h” fileEx: SampleProject.cpp

Comment or delete lines

Source Files Right mouse click Add Existing Item

Select Init.cpp file to add

Init.cpp file attached

Init.cpp

Change the configuration to 64 bit

Click On Configuration Manager

Click On New

Select x64 for 64 bit System

Click On Close

Project Properties

Select .dll (Config Type)

Configuration PropertiesGeneral

Change It To Use Multi Byte Character Set and No Common Language Runtime Support

Click On Edit

Add Creo2.0 Include Directories

Configuration PropertiesVC++ Directories

Click On Edit

Add Creo2.0 Library Directories

Click On Edit

Add Creo2.0 Include Directories

C/C++General

C/C++Preprocessor

Click On Edit

Add Preprocessor Definitions

Change it to No(/Gm-)

Change it to Multi-threaded Debug(/Mtd)

C/C++Code Generation

Change it to Not Using Precompiled Headers

Change it to Use(/Yu)

C/C++Precompiled Headers

Change it to Yes(/Incremental)

Linker General

Click On Edit

Add Creo2.0 Library Directories

Linker General

Click On Edit

Add Creo2.0 Additional Dependencies

Linker Input

protk_dll.libprodev_dll.libmpr.libpsapi.libNetapi32.libws2_32.lib

Add Below In Additional Dependencies

Application.dll file will create at “Project Directory\Win32 or Win64\ debug”

THANK YOU

• Suresh Yalagudri