AddInExpress 1 to 2.2

Add-in Express™ Support Service
That's what is more important than anything else

AddInExpress 1 to 2.2
How to upgrade 
Asaf


Guest


Hi,

I have uninstalled version 1.9 & install version 2.2.
When I try to compile I am getting the error.

"[Fatal Error] SMSOnOffice.dpr(14): File not found: 'axpAddIn.dcu'"

I am using Delphi 6 Pro.

Thanks for any help.
Asaf
Posted 06 Oct, 2004 10:15:53 Top
Dmitry Kostochko


Add-in Express team


Posts: 2875
Joined: 2004-04-05
Replace all references to the axpAddin unit with the references to the adxAddIn unit.

Sincerely,
ADX Support Team
Posted 06 Oct, 2004 10:31:00 Top
Asaf


Guest


Now I am getting this errors:

Error] SMSOnOffice_IMPL.pas(16): Method 'AddIn_Initialize' not found in base class
[Error] SMSOnOffice_IMPL.pas(17): Method 'AddIn_Finalize' not found in base class
[Error] SMSOnOffice_IMPL.pas(18): Method 'AddIn_ControlEvent' not found in base class
[Error] SMSOnOffice_IMPL.pas(36): Undeclared identifier: 'AddIn_Initialize'
[Error] SMSOnOffice_IMPL.pas(38): Undeclared identifier: 'HostType'
[Error] SMSOnOffice_IMPL.pas(39): Undeclared identifier: 'HostType'
[Error] SMSOnOffice_IMPL.pas(41): Undeclared identifier: 'AddCmdBar'
[Error] SMSOnOffice_IMPL.pas(42): Undeclared identifier: 'AddButton'
[Error] SMSOnOffice_IMPL.pas(84): Undeclared identifier: 'AddIn_Finalize'
[Warning] SMSOnOffice_IMPL.pas(137): Symbol 'Range' is specific to a platform
[Error] SMSOnOffice_IMPL.pas(141): Undeclared identifier: 'ExcelApp'
[Error] SMSOnOffice_IMPL.pas(141): Array type required
[Fatal Error] SMSOnOffice.dpr(14): Could not compile used unit 'SMSOnOffice_IMPL.pas'
Posted 06 Oct, 2004 12:31:29 Top
Dmitry Kostochko


Add-in Express team


Posts: 2875
Joined: 2004-04-05
Hmm... Have you replaced only the uses clause?

Sincerely,
ADX Support Team
Posted 07 Oct, 2004 01:44:01 Top
Asaf G


Guest


Here is my Unit:

unit SMSOnOffice_IMPL;

interface

uses
ComObj, ComServ, ActiveX, Variants, adxAddIn, SMSOnOffice_TLB, Forms, Classes,
Excel2000, SysUtils, Dialogs, Redemption_TLB, Outlook2000;

type
{ TCSMSOnOffice }
TCSMSOnOffice = class(TadxAddIn, ICSMSOnOffice)

<skipped>
end.
Posted 07 Oct, 2004 05:11:48 Top
Dmitry Kostochko


Add-in Express team


Posts: 2875
Joined: 2004-04-05
Hello Asaf,

You don't need to change the parent class. So, your source code is fine except for one thing:
type 
{ TCSMSOnOffice } 
TCSMSOnOffice = class([B]TaxpAddIn[/B], ICSMSOnOffice) 
protected


Sincerely,
ADX Support Team
Posted 07 Oct, 2004 10:33:01 Top
Asaf G


Guest


Thanks for your support, its works now.
Please delete my post, the one with my unit source code; I don't want it to publicly seen.

Thanks,
Asaf
Posted 07 Oct, 2004 14:40:52 Top
Eugene Starostin


Guest


Please delete my post, the one with my unit source code; I don't want it to publicly seen


No problem. Done.
Posted 07 Oct, 2004 14:44:41 Top