• Home
  • Knowledge Base
    • Licensing
    • Operation
    • Quality Improvement
    • References
  • Documentation
    • VIOSO Core
    • VIOSO Anyblend
    • VIOSO Anyblend VR&SIM
    • VIOSO Integrate
    • VIOSO Player
  • FAQ
    • Error and other feedback
    • Licensing
    • System & Requirements
  • Videos
  • Home
  • Knowledge Base
    • Licensing
    • Operation
    • Quality Improvement
    • References
  • Documentation
    • VIOSO Core
    • VIOSO Anyblend
    • VIOSO Anyblend VR&SIM
    • VIOSO Integrate
    • VIOSO Player
  • FAQ
    • Error and other feedback
    • Licensing
    • System & Requirements
  • Videos

VIOSO Integrate

home/Documentation/VIOSO Integrate
Expand All Collapse All
  • VIOSO Integrate Overview
  •  Media Playback Solutions
    • IOVERSAL Vertex
  •  3D Engines
    • VIOSO Unity Plugin
    • VIOSO Unreal Engine Integration
    • VIOSO MiddleVR Integration
  •  Simulators
    • rFpro Integration
    • AVSimulation: SCANeR Studio
  •  VIOSO WarpBlend API
    • API usage on Windows
    • API usage on Linux
    • Implementation Remarks
    • VIOSOWarpBlend.ini Reference
    •   API Examples
      • Example 1 - Simulator with moving platform
      • Example 2 - Another simulator with moving platform
      • Example 3 – Cave
      • Example 4 – Video player
  • Dome- and Planetarium Solutions

API usage on Windows

119 views 0

Emanuel
October 6, 2020

Table of Contents

  • Static binding
  • Dynamic binding
    • Via [precompiled] header:
    • Single file:

Static binding

Having VIOSOWarpBlend next to your executable or in added to %path%: link against VIOSOWarpBlend.lib and, in your [precompiled] header.

#include "VIOSOWarpBlend.h"

Dynamic binding

Giving a path to load dynamic library from: #define VIOSOWARPBLEND_FILE with a path (relative to main executable), this defaults to VIOSOWarpBlend / VIOSOWarpBlend64

Via [precompiled] header:

in header declare functions and types:

#define VIOSOWARPBLEND_DYNAMIC_DEFINE
#include "VIOSOWarpBlend.h"

in one file on top, to implement the actual functions/objects

#define VIOSOWARPBLEND_DYNAMIC_IMPLEMENT
#include "VIOSOWarpBlend.h"

in module initialization, this loads function pointers from library

#define VIOSOWARPBLEND_DYNAMIC_INITIALIZE
#include "VIOSOWarpBlend.h"

Single file:

in file on top, to declare and implement functions/objects

#define VIOSOWARPBLEND_DYNAMIC_DEFINE_IMPLEMENT
#include "VIOSOWarpBlend.h"

in module initialization, this loads function pointers from library

#define VIOSOWARPBLEND_DYNAMIC_INITIALIZE
#include "VIOSOWarpBlend.h"

Always make sure to have your platform headers loaded before! To access deprecated functions #define VWB_USE_DEPRECATED_INIT

Was this helpful?

Yes  No
Related Articles
  • AVSimulation: SCANeR Studio
  • rFpro Integration
  • Example 1 – Simulator with moving platform
  • VIOSO Integrate Overview
  • Example 2 – Another simulator with moving platform
  • API usage on Linux
  • Ticket System
  • VIOSO Home
  • Imprint
  • Forum
  • © 2020 VIOSO GmbH. All Rights Reserved.

We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.Ok