 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
lior ilan Guest
|
Posted: Wed Jan 19, 2005 10:11 am Post subject: import MSWord 2003 error |
|
|
When I imported MSWord 2003 into Delphi 7 I recieved the following error:
[Error] Word_TLB.pas(34708): Operator not applicable to this operand type
[Fatal Error] Word11.dpk(39): Could not compile used unit
'..ImportsWord_TLB.pas'
I commented that section and compiletion finished succesfully.
What is the reason for the error.Is that section important ?
Thanks in advance
procedure TWordDocument.InvokeEvent(DispID: TDispID; var Params:
TVariantArray);
begin
case DispID of
-1: Exit; // DISPID_UNKNOWN
4: if Assigned(FOnNew) then
FOnNew(Self);
5: if Assigned(FOnOpen) then
FOnOpen(Self);
6: if Assigned(FOnClose) then
FOnClose(Self);
7: if Assigned(FOnSync) then
FOnSync(Self, Params[0] {MsoSyncEventType});
8: if Assigned(FOnXMLAfterInsert) then
FOnXMLAfterInsert(Self,
IUnknown(TVarData(Params[0]).VPointer) as XMLNode
{const XMLNode},
Params[1] {WordBool});
9: (*if Assigned(FOnXMLBeforeDelete) then <== compilation error
FOnXMLBeforeDelete(Self,
IUnknown(TVarData(Params[0]).VPointer) as Range
{const Range},
IUnknown(TVarData(Params[1]).VPointer) as
XMLNode {const XMLNode},
Params[2] {WordBool})*);
end; {case DispID}
end;
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|