Create and register the Midas server in Delphi (Midas 2)

Source: Internet
Author: User

How to create and register the Midas application in Delphi ProgramServer com Program
Delphi provides some wizard (such as remotedatamodule, Automation Object, typelibrary) to automatically generate the structure of the COM program.
(Method 1) create a common application server
Create a common project, and then use new-> Other-> multitier-> remote datamodule to automatically create a COM server structure.
Note: To register the created Midas application server, you can run the application or run the program using the/regserver switch.
(Method 2) create an ntservice-type application server so that the application server can be started without logging on to the system. This avoids the problem that the application server cannot be accessed due to power failure and restart.
Create a new ntservice project, and then use new-> Other-> multitier-> remote data module to automatically create a COM server structure.
Note: To register the created ntservice server, run the program through the/install switch.
Note: the MIDAS Program requires the client to register the midas. dll and stdvcl40.dll dynamic libraries.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.