大虾们:我创建了一个无窗体的单元文件,在单元文件里写了如下代码。
 我在有窗体单元用self和handle都是可以的是不是缺了那个单元文件
 我动态创建控件,PowerPointApplication:=TPowerPointApplication.Create(self);
 编译说[Error] yueppt.pas(99): Undeclared identifier: 'self'
 但是我已经uses 了classes
 写了一个messagebox(handle,'答案数据库无法打开','警告',mb_ok);
 编译说[Error] yueppt.pas(149): Undeclared identifier: 'handle'
 我定义了一个count:single;
 写了result:=int(count);
 编译说:[Error] yueppt.pas(224): Incompatible types: 'Integer' and 'Extended'