Open topic with navigation

TIBCO GridServer® 7.1.0

# Running Examples on Visual Studio

To run the Calculator client in windows using any Visual Studio version other than Visual Studio 2013:

| 1. | Open the CPPCalculator solution file in Visual Studio.

| 2. | Set the configuration to "Release" and Platform as "x64".

| 3. | Right-click "Calculator", select Properties > Configuration Properties > General > Platform Toolset, and select your version of Visual Studio. Do the same for "CalculatorClient".

| 4. | Right-click "Calculator", select Properties > Linker > General, and replace "Output File" with the value for your version of Visual Studio. (For example `..\..\target\o\win64\vc12\Calculator.dll`)

| 5. | Right-click "CalculatorClient" select Properties > Linker > General, and replace "Additional Library Directories" with the value for your version of Visual Studio (For example `..\..\..\..\..\cppdriver\lib\vc12\x64;%(AdditionalLibraryDirectories)`)

| 6. | Right-click "CalculatorClient", select Properties > Linker > Input, and replace "Additional Library Directories" with the value for your version of Visual Studio (For example `DSDriverVC12.lib;DSUtilVC12.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies)`)

| 7. | Modify `env.bat` for your version of Visual Studio. For example:

`set dsos=win64`

`set dscompiler=vc12`

`set dsbridgename=win64-vc12`

`set devenvpath="%VS120COMNTOOLS%\..\IDE\devenv.exe"`

| 8. | Edit `driver.properties` as needed.

| 9. | Run the `build-and-deploy.bat` script. The Grid Library is deployed with the correct `calculator.dll` file packaged in it.

Did you find this helpful?

Yes No
Great!
Thanks for taking the time to give us some feedback.
Sorry about that

Why wasn't this helpful? (check all that apply)

Could not find what I was looking for
Instructions confusing or unclear
Instructions did not work

Want to tell us more?

Please select at least one option or provide details about the issue!!

Error occurred while submitting feedback.

Error2 occurred while submitting feedback.

TIBCO GridServer®

Copyright © 2001-2022. TIBCO Software Inc. All Rights Reserved.