Note that SFTComServer is the name of your COM server component.
There are couple of steps before you use the COM DLL into your C# application:
1. Create a strong name file as shown below:
C:\kathir\SFTComServer>sn -k key.snk
2. Create the DLL that is compatible with C# using tlbimp
C:\kathir\SFTComServer>tlbimp release\SFTComServer.tlb /keyf
ile:key.snk /out:SFTComServer_vsnet.dll /namespace:SFTCOMServer
Microsoft (R) .NET Framework Type Library to Assembly Converter 2.0.50727.42
Copyright (C) Microsoft Corporation. All rights reserved.
Type library imported to C:\kathir\SFTComServer\SFTComServer
3. Register the newly created .DLL
Microsoft (R) .NET Framework Assembly Registration Utility 2.0.50727.3053
Copyright (C) Microsoft Corporation 1998-2004. All rights reserved.
Types registered successfully
4. Register the COM DLL if you have not done so far.
Now is the time to write C# test application by adding a reference to the newly created SFTComServer_vsnet.dll.http://facebook.softwareandfinance.com