Dynamic View Services > Implementing a Dynamic View Server and its Components > Initializing and Running a View Server > Initializing and Running a Dynamic Server
 
Initializing and Running a Dynamic Server
To be able to use dynamic modeling services, your Server application must initialize the dynamic view server by calling the function IlsDynMvServer::Initialize instead of IlsMvServer::Initialize.
Note that this method does not install an IlsMvServer factory and does not provide any implementation of an IlsMvServer subtype. If you have derived the IlsMvServer class, your subclass dos not need to inherit from IlsDynMvServer.
Some extra arguments are parsed from the command line:
*-ilsm or -ilsmodel <model_file>
This option allows you to load a dynamic model file at startup. Rogue Wave Server assumes that this file is an XMI file and invokes the default built-in XMI parser.
You may specify more than one -ilsm directive.
*-ilsj or -ilsjscript <script_file>
This option allows you to load an Rogue Wave Script file at startup. You can specify more than one -ilsj directive.
Note: Model files are loaded before Script files and before other standard Rogue Wave Server options.
You must link your application with the following Rogue Wave Server libraries:
*dynmvsvr.lib
*iljs.lib

Version 5.8
Copyright © 2014, Rogue Wave Software, Inc. All Rights Reserved.