This is a discussion on Help on Creation within the C and C++ forums, part of the Programming Talk category; I am trying my hands on creating a simple COM object using ATL. I want to know the step by ...
|
|||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Help on Creation
I am trying my hands on creating a simple COM object using ATL. I want to know the step by step procedure for doing this so that I can proceed confidently without leaving a minor point in my application. Kindly help me out.
|
|
|||
|
The step by step procedure for creating a simple COM object using ATL is as below:
Step 1: Running the ATL COM Wizard Step 2: Creating a new ATL object Step 3: Adding a method Step 4: Compiling the DLL Step 5: Testing the COM Server with Visual Basic Step 6: Testing the COM Server with Visual C++ Step 7: Compile and run the program |
|
|||
|
Sure I am glad to give you all detailed explanation on each of the above steps:
Step 1: Running the ATL COM Wizard In this first you have to choose the ATL COM AppWizard. Then give a project name and save. Select the Server Type. Then click the finish button which gives you a window New Project Information giving details of files that would be created. Press Ok and proceed to next step. Step 2: Creating a new ATL object Click the View menu and choose Workspace. In that click the ClassView tab. In this you will see the classes of the project name you created. Choose this and right click and choose their New ATL Object. From this choose the default Simple Object and on clicking next you would be taken to ATL Object Wizard Properties. Define the properties and proceed to Step 3 Step 3: Adding a method In the same ClassView tab as detailed in step 2 you would have Add Method. Choose this and add the method you want. |
![]() |
| Thread Tools | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Creation of cursors and triggers in sql | harikreative | Microsoft .NET | 1 | 02-19-2007 01:18 PM |
| missed value set creation in apps technical training | durga.mahapatra | Suggestions & Feedback | 0 | 02-02-2007 10:40 AM |
| QA Professional required @ APEX Creation, Ahmedabad | techguru | Experienced Job Seekers - India | 0 | 05-31-2005 11:44 PM |
| QA Professional required @ APEX Creation, Ahmedabad | techguru | Freshers Jobs | 0 | 05-31-2005 11:26 PM |
| webdesigner requied @ APEX Creation Ahmedabad | techguru | Experienced Job Seekers - India | 0 | 05-06-2005 12:11 PM |