Linked Applications
A linked Rogue Wave® Server application based on dynamic views must initialize the process as a view server. Normally, an event loop starts then. For example, the main function looks like this for a graphic view server that uses the Rogue Wave Views event loop.
Example
#include <ilserver/mvproc.h>
#include <ilserver/mvserver.h>
// Rogue Wave Views includes
int main(int argc, char** argv)
{
if (!IlsMvProcess::Initialize(argc,argv);
|| !IlsMvServer::Initialize(argc,argv)){
cerr << "Initialization failed" << endl;
return 1;
}
// Views initializations...
....
IlvMainLoop();
return 0;
};
To create the executable, you must link your application object files with the Rogue Wave Server libraries mvserver and server and ilog.
Version 6.3
Copyright © 2018, Rogue Wave Software, Inc. All Rights Reserved.