Dynamic View Services > Implementing a Dynamic View Server and its Components > Initializing and Running a Component > Using Orbix
 
Using Orbix
When using Orbix instead of Rogue Wave® Server MvTCP, the only code changes are related to initialization. The call to the execution loop IlsMvProcess::Run does not change:
#include <ilserver/mvcorba/omvproc.h>
int main(int argc, char **argv)
{
if (!IlsOrbixMvProcess::Initialize(argc,argv)){
cerr << "Initialization of component failed" << endl;
return 1;
}
...
IlsMvProcess::Run();
return 0;
}
In that case, the libraries to be used are the mvcomp, ilog, mvorbix, and Orbix libraries.

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