Visual Studio UM Quickstart - fordsfords/fordsfords.github.io GitHub Wiki

Being an old Unix hack, I never remember how to start a Visual Studio C project with UM.

Table of Contents

Connect via Remote Desktop

  • Start -> settings (gear icon)
  • Enter into search box "remote", click "Remote Desktop settings".
  • Make sure "Enable Remote Desktop" is "on".
  • On Mac RDP client, use local LAN IP address. Select resolution 1440x900. Uncheck "Start session in full screen". Login with domain\username.
Once logged in, must re-connect to VPN.

Install UM

C:\Program Files\Informatica\UMQ_6.13\Win2k-x86_64

Create Project

  • Start VS 2013
  • File -> New -> Project
  • Templates -> Visual C++ -> Win32
  • Win32 Console Application
  • Name: rcv_stats
  • Location: c:\users\sford\documents\visual studio 2013\Projects
  • OK
Starts Win32 Application Wizard.
  • Next
  • Uncheck Precompiled header, Security Development Lifecycle (SDL) checks
  • Finish
Opens new empty project.

Add my C files

  • Write cygwin bash script to rsync to Linux.
  • Copy .c and .h files to /cygdrive/c/users/sford/Documents/Visual\ Studio\ 2013/Projects/rcv_stats/rcv_stats/
  • In VS, Project -> Add existing item
    • Select .c and .h files, "Add".
  • In Solution Explorer, right-click main rcv_stats.cpp file, "Delete"

Add UM

  • In Solution Explorer, right_click the project entry ("++" icon right below the top-level solution), and select "Properties".
  • Configuration: "All Configurations"
  • Configuration Manger...
    • In the "Project contexts" table, select platform arrow "New...", new Platform: x64, uncheck "Create new solutions platforms"
  • Expand C/C++
  • General
    • Select Configuration: "All Configurations"
    • Additional Include Directories: C:\Program Files\Informatica\UMQ_6.13\Win2k-x86_64\include (return)
  • Linker, General
    • Additional Library Directories: C:\Program Files\Informatica\UMQ_6.13\Win2k-x86_64\lib
  • Linker, Input
    • Additional Dependencies: (click in the field, then select arrow and "edit..."). Add "lbm.lib" and "ws2_32.lib".

To Run

Create batch script to run:
c:\users\sford\documents\visual studio 2013\Projects\rcv_stats\x64\Debug\rcv_stats.exe

Add a Project

A "solution" can contain more than one "project", which is a buildable unit (like an executable). When the "solution" is built, all projects under it are built.

But I can't figure out if you can customize things like include and library directories, and individual libraries at the solution level and have all projects inherit. I had to set those up individually.

⚠️ **GitHub.com Fallback** ⚠️