function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Brian123Brian123 

Adding a COM Base Class to a CTI Connector Project

I seem to be having some problems when adding the COM class to the project.

 

I must start by saying that I am using Visual Studio.NET 2008 and not 2003 as described in the CTI manual.

 

This is what I do:

 

I right click on the project name and then ->Add->Class

 

Then I select ALT Simple Object. I then click "Add" and not Open as I don't have a "open" button.

 

I enter the name of the adapter and change the Interface name to ISalesforceCTIAdapter.

 

I then select options and click "Connection points"

 

I then click finished.

 

The wizard then creates a MyAdapter.h file

 

I edit this file so that I can delete __interface ISalesforceCTIAdapter : IDispatch. But this is not in the file.

 

The default event linkage is also not in the file.

 

I am not sure what I am doing wrong when adding the COM class.

 

 

 

 

Brian123Brian123

I found this : The ATL Project wizard no longer provides an option to create attributed ATL projects.

 

Beginning with Visual Studio 2008, the ATL Project wizard does not have an option to change the attributed status of a new project. All new ATL projects that the wizard creates are now unattributed.

 

http://msdn.microsoft.com/en-us/library/bb384632.aspx

 

Not sure if this is the problem. If it is the problem I am not sure how I would then add the com object with the required functions

LouisoLouiso

i Have same problem.....  Does anyone do have any solotion? please suggest.