Posts 1 - 10 of 12
First | Prev. | 1 2 | Next | Last
|
|
Michael Hovdan
Guest
|
Hi
I have just upgraded to the latest "Add-in-express for VCL" (I had the 2010 version previously).
I get this error when trying to build or compile:
"[dcc32 Fatal Error] MyCode_IMPL.pas(7): F2051 Unit adxxlFormsManager was compiled with a different version of adxAddIn.TadxCOMAddInModule"
What causes this?
Michael |
|
Posted 06 Apr, 2015 03:45:41
|
|
Top
|
|
Andrei Smolin
Add-in Express team
Posts: 19138
Joined: 2006-05-11
|
Hello Michael,
What Delphi version are you using? What packages did you install?
Andrei Smolin
Add-in Express Team Leader |
|
Posted 06 Apr, 2015 04:25:31
|
|
Top
|
|
Michael Hovdan
Guest
|
Andrei
I'm using XE6. I found a partial solution. It seems to work in 32-bit but not in 64-bit Windows. Is there anyway to make it work for the 64-bit case too?
Michael |
|
Posted 06 Apr, 2015 05:17:17
|
|
Top
|
|
Andrei Smolin
Add-in Express team
Posts: 19138
Joined: 2006-05-11
|
Michael,
I've just sent you an email with a link for an Add-in Express build that fixes this issue.
Andrei Smolin
Add-in Express Team Leader |
|
Posted 06 Apr, 2015 06:05:22
|
|
Top
|
|
Michael Hovdan
Guest
|
Andrei
The 32-bit doesn't seem to work either. As soon as I load a TadxExcelTaskPane, it doesn't recognize the adxxlFormsManager unit (found in the Uses section). Here is the whole Unit1.pas:
unit Unit1;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
Outlook2000, adxxlFormsManager;
type
TadxExcelTaskPane1 = class(TadxExcelTaskPane)
private
{ Private declarations }
protected
{ Protected declarations }
public
{ Public declarations }
published
{ Published declarations }
end;
{NOTE: The adxExcelTaskPane1 variable is intended for the exclusive use
by the TadxXlFormsCollectionItem Designer.
NEVER use this variable for other purposes.}
var
adxExcelTaskPane1 : TadxExcelTaskPane1;
implementation
{$R *.DFM}
initialization
RegisterClass(TPersistentClass(TadxExcelTaskPane1));
finalization
end.
|
|
Posted 06 Apr, 2015 06:06:17
|
|
Top
|
|
Andrei Smolin
Add-in Express team
Posts: 19138
Joined: 2006-05-11
|
Please check your Inbox.
Andrei Smolin
Add-in Express Team Leader |
|
Posted 06 Apr, 2015 06:11:26
|
|
Top
|
|
Michael Hovdan
Guest
|
Thanks Andrei
But now I get another error: The MyTest_IMPL unit doesn't recognize the TadxExcelTaskPanesManager
unit MyTest_IMPL;
interface
uses
SysUtils, ComObj, ComServ, ActiveX, Variants, Office2000, adxAddIn, ExcSim_TLB, Unit1;
type
TCoExcSim = class(TadxAddin, ICoExcSim)
end;
TAddInModule = class(TadxCOMAddInModule)
adxExcelTaskPanesManager1: TadxExcelTaskPanesManager;
procedure adxCOMAddInModuleCreate(Sender: TObject);
private
protected
public
end;
implementation
{$R *.dfm}
procedure TAddInModule.adxCOMAddInModuleCreate(Sender: TObject);
begin
end;
initialization
TadxFactory.Create(ComServer, TCoExcSim, CLASS_CoExcSim, TAddInModule);
end. |
|
Posted 06 Apr, 2015 06:30:58
|
|
Top
|
|
Andrei Smolin
Add-in Express team
Posts: 19138
Joined: 2006-05-11
|
Michael,
You need to add adxxlFormsManager to the uses section.
Andrei Smolin
Add-in Express Team Leader |
|
Posted 06 Apr, 2015 06:39:52
|
|
Top
|
|
Michael Hovdan
Guest
|
Andrei
Now it seems to compile and the ActiveX Server also seems to register OK. But the Add-in still will not load. I get the error "Runtime Error Occurred During the Loading of the COM Add-in" |
|
Posted 06 Apr, 2015 07:02:31
|
|
Top
|
|
Andrei Smolin
Add-in Express team
Posts: 19138
Joined: 2006-05-11
|
Can I access an affected PC remotely? If yes, I suggest using TeamViewer; in this case, you'll need to send me your session ID and password to the support email address, see {Add-in Express installation folder}\readme.txt.
Andrei Smolin
Add-in Express Team Leader |
|
Posted 06 Apr, 2015 07:20:00
|
|
Top
|
|
Posts 1 - 10 of 12
First | Prev. | 1 2 | Next | Last
|