用DELPHI调用CODESOFT模板打印时,Method 'DocObjects' not supported by automation

用DELPHI调用CODESOFT模板打印时,Method ɽocObjects' not supported by automation object在用

用DELPHI调用CODESOFT模板打印时,Method 'DocObjects' not supported by automation object
在用DELPHI调用CODESOFT模板打印时,不知道为什么我使用下面的语句的时候总是提示
Method 'DocObjects' not supported by automation object
Method 'Dialogs' not supported by automation object



BarApp := CreateOleObject('lppx.Application');

BarApp.ActiveDocument.DocObjects.Item('Text1');.value:= 'NEWVALUE';
BarApp.Dialogs.Item(1).Show;


另外想问一下,如何调整模板中TEXT的位置以及字体等属性,还望高手指点。
[最优解释]
似乎在你的接口定义上出了问题?版本问题?是否缺少引用?
[其他解释]
http://www.label-soft.cn/Soft/Drivers/200808/154.html

你下载这个demo看看。
[其他解释]
CODESOFT软件应该已经在系统中注册了啊,不需要再手动添加引用吧。

看例子也不需要哦
[其他解释]
大家伙有没有DELPHI+CODESOFT,然后设定Dialogs、DocObjects的例子啊
[其他解释]
无满意答案,但为了50%的分数还是结贴吧。

问题已搞定
[其他解释]
楼主,你是怎么搞定的呢,分享一下吧.
[其他解释]
学习飘过
[其他解释]
真操蛋,怎么解决问题的也不说。。。
[其他解释]
我想知道答案
[其他解释]
我想知道答案