image image Home   About   Downloads   Support   Links   Contact  
image

IntraWeb
» Blog
» Trial Edition
» Bugs List
» IW XI Beta

Resources
» Documentation
» Get Your Key
» Articles
» Books
» Support

What others say
» Case Studies
» Magazine Reviews
» User Quotes






Copyright
2002 - 2010
Atozed Computer
Software Ltd.

image
Buy Online   Download Support  FAQ
Atozed Home  »  IntraWeb  »  IntraWeb Blog

XI: New Project Structure

4/3/2010

XI uses a new simplified project structure. The older structure is also still supported, however eventually will be phased out. To change to the new structure takes just a few seconds and has a big advantage.

No longer are separate projects needed for service versus standalone types. They are now handled by a single project. The old project types looked like this:

With GUI - Debug Mode

Service

XI Unified

By default it runs as a service. To make it run as interactive you can pass /GUI on the command line, or you can add change TIWStart.Execute to TIWStart.Execute(true). The project wizard will be updated to pass /GUI during debugging. When deploying your application, you will need to pass /GUI or pass the additional argument of true to run in GUI mode.

Demos and New Projects

More recent Delphi IDEs store command line parameters in the .dproj file, while older ones store them in the .dof file. This makes reliably distributing demos more complicated. Because of this, new projects and demos default to passing the explicit aForceGUI parameter of true in the .dpr file. Before deploying you should remove the parameter or change it to false and set the debug options in the IDE to pass -GUI.


<< Previous Entry    Next Entry >>



Comments:

-- No Comments --

Post a comment




CodeGear - Where Developers Matter