Run Microsoft® Visual Studio 2005/2008/2010/2012/2015/2017

 

1.  Select New in the File menu. (Displayed as Figure 1.)

 

Figure 1  Opening New Project

 

①  Select the Project.

 

2.  The New Project Window is displayed as Figure 2.

 

Figure 2  New Project Window

 

①  Select RecurDyn in Visual C++ Project. (In the case of creating the FORTRAN project, you should select Visual C++.)

①  Select RecurDyn User SubRoutine Wizard in Templates.

②  Define Name, Location, and Solution Name.

③  Click OK.

 

3.  RecurDyn User SubRoutine Wizard Window is displayed as Figure 3.

 

Figure 3  RecurDyn User SubRoutine wizard Window

 

①  Select a Compiler as C/C+ or Intel FORTRAN.

②  Click Next.

③  Select a desired User Subroutines.

④  Click Finish.

 

4.  In the case of the C++ project, follow the next steps. (Displayed as Figure 4.)

 

Figure 4  C++ Project

 

①  Open the DllFunc.cpp file.

②  Implement user’s codes in the DllFunc.cpp file.

③  Select the Debug option or the Release option.

④  Create the user DLL file by using the Rebuild Solution option or the Build Solution option of Visual Studio 2015.

 

5.  In the case of the FORTRAN project, follow the next steps. (Displayed as Figure 5.)

 

Figure 5  Fortran Project

 

①  Open the DllFunc.for file.

②  Implement user’s codes in the DllFunc.for file.

③  Select Extract Compaq Visual Fortran Project Items after click the right of the mouse on the project name in Solution Explorer.

④  Select the Configuration Manager option.

⑤  Select the <New…> option of Active Solution platform in the Configuration Manager dialog box as shown in Figure 6.

 

Figure 6  Configuration Manager dialog Box

 

⑥  Click OK in the New Solution Platform dialog box as shown in Figure 7.

 

Figure 7  New Solution Platform dialog Box

 

⑦  Select the Debug option or the Release option as shown in Figure 8.

 

 

Figure 8  Selecting the Debug or the Release Option

 

⑧  Create the user DLL file by using the Rebuild Solution option or the Build Solution option of Visual Studio 2015.