Dynamic View Services > Implementing a Dynamic View Server and its Components > Initializing and Running a Component > Using Orbix and Rogue Wave Views
 
Using Orbix and Rogue Wave Views
If you want to use Orbix as the communication layer and execute the Rogue Wave Views event loop, the main function is the following:
#include <ilserver/mvcorba/ovmvproc.h>
// Rogue Wave Views includes
 
int main(int argc, char **argv)
{
if (!IlsIlvOrbixMvProcess::Initialize(argc,argv)){
cerr << "Initialization of component failed" << endl;
return 1;
}
// Rogue Wave Views initializations...
...
IlvMainLoop();
return 0;
}
In that case, link your component with the mvcomp, ilog, mvvwobx, and Orbix libraries.

Version 6.3
Copyright © 2018, Rogue Wave Software, Inc. All Rights Reserved.