D
DongJiang
Unregistered / Unconfirmed
GUEST, unregistred user!
我的程序如下:
WordDocument1.ConnectTo(WordApplication1.Documents.Add(EmptyParam,EmptyParam));
WordDocument1.Tables.Add(WordDocument1.Range,3,3);
WordDocument1.Content.InsertBreak(wdPageBreak);
WordApplication1.Visible:=true;
但编译不通过,出现错误:
[Error] word.pas(52): Types of actual and formal var parameters must be identical
WordDocument1.ConnectTo(WordApplication1.Documents.Add(EmptyParam,EmptyParam));
WordDocument1.Tables.Add(WordDocument1.Range,3,3);
WordDocument1.Content.InsertBreak(wdPageBreak);
WordApplication1.Visible:=true;
但编译不通过,出现错误:
[Error] word.pas(52): Types of actual and formal var parameters must be identical