Migrating to .NET: A Pragmatic Path to Visual Basic .NET, Visual C++ .NET, and ASP.NET By Dhananjay Katre, Prashant Halari, Narayana Rao Surapaneni, Manu Gupta, Meghana Deshpande
Table of Contents
Chapter 14. Visual C++ .NET Migration Case Study
Setting Up PMS in Visual C++ 6.0
The different components of PMS in Visual C++ 6.0 are as follows :
TraderWorkStation.exe. This is the front end provided for the customer to interact with PMS. It allows customers to view the stock prices, view their own portfolio, place buy and sell orders for a particular stock, check the status of different orders, and so on.
AdminWorkstation.exe. This is the front end for the administrator. Using this module the administrator can create a new customer identity or update information for the existing customer and also view the performance of a particular stock over a period of the last seven days. Any order placed by the customer has to be approved by the administrator and is viewed as a pending request to buy or sell. The administrator can accept these orders, reject them, or keep them pending.
CustomerService.dll. This is an ISAPI DLL that provides the wrapper for COM components that expose different functions based on customer requirements.
AdminServices.dll. This is an ISAPI DLL that provides the wrapper for COM components that expose different functions based on the administrator requirements.
COM components. As stated earlier the COM components are used to talk to the database. Five different COM components have been created. We will discuss all of these components in details in the latter part of this chapter.
SQL stored procedure. The PMS database is implemented on the SQL Server. Different stored procedures have been created for this database. You can find the details of this database and the stored procedure in Visual Basic .NET section of Chapter 12.
Figure 14-1 will give you a good idea about how these components are fitted together to form the PMS.
Figure 14-1. Block diagram of components.
To set up the PMS in Visual C++ 6.0, refer the section "Setting Up PMS in Visual Basic 6.0 " in Chapter 12. The procedure is similar and there should be no problem installing the PMS in Visual C++ 6.0 if you follow the procedure given.