C++


Here is a step by Step Guide to setting up a RapidCode project using C++ in VS2005.


  • Start a new Win32 Console Application project.
  • Click on Application Settings and check the Empty Project Option.
  • Copy rsi.h & RSIQVC.lib into your Project directory. (These files are located at C:\SynqNet\)
  • Copy RSIQVC.dll to your Windows System32 directory. (This file is located at C:\SynqNet\)
  • Using the Solution Explorer, add an existing Item to Resource Files. You will need to change 'Files of type:' to 'All Files (*.*)'. Add RSIQVC.lib.
  • Using the Solution Explorer, add a new Item to Source Files.
  • Create a file name for your main programming file. (Click Add)
  • Add the following to the top of your project.cpp file.
    #include <rsi.h> 
    using namespace RSI::RapidCode::SynqNet;
    
  • Using the menu, go to Project Properties.
  • In C/C++ General, add 'C:\SynqNet\' in Additional Include Directories as shown below:
  • In C/C++ Preprocessor, add '; RSIAPP' in Preprocessor Definitions as shown below:

Now you will be able to Build your RapidCode project without errors. Take a look at our Sample Applications for reference when developing your own project. Template.cpp is an excellent place to start.


To further assist with Project creation, the above steps have screenshots to assist you.


Start a new Win32 Console Application project. (Click Ok)

cpp1.jpg


Click on Application Settings and check the Empty Project Option. (Click Finished)

cpp2.jpg


Copy rsi.h & RSIQVC.lib into your Project directory. (These files are located at C:\SynqNet\)


Using the Solution Explorer, add an existing Item to Resource Files.

cpp4.jpg


You will need to change 'Files of type:' to 'All Files (*.*)'. Add RSIQVC.lib.

cpp5.jpg


Using the Solution Explorer, add a new Item to Source Files.

cpp6.jpg


Create a file name for your main programming file.

cpp7.jpg


Add the following to the top of your project.cpp file.

cpp8.jpg


Using the menu, go to Project Properties.

cpp9.jpg


In C/C++ General, add 'C:\SynqNet\' in Additional Include Directories as shown below:

cpp10.jpg


In C/C++ Preprocessor, add '; RSIAPP' in Preprocessor Definitions as shown below:

cpp11.jpg


Now you will be able to Build your RapidCode project without errors. Take a look at our Sample Applications for reference when developing your own project. Template.cpp is an excellent place to start.