trectangle类型为什么总说我没有定义?在线等……(100分)

  • 主题发起人 主题发起人 低调男人
  • 开始时间 开始时间

低调男人

Unregistered / Unconfirmed
GUEST, unregistred user!
我在练习opengl编程时,定义m:trectangle为什么说trectangle 没定义?哪位高手能指点一二
type
TForm1 = class(TForm)
private
dc:hdc;
hrc:hglrc;
fdpi:cardinal;
fnearplane:single;
fviewport:trectangle;
//就这里有问题[Error] Unit1.pas(23): Undeclared identifier: 'trectangle' utimerId:uint;
qo:Pgluquadric;
 
TRectangle是你自定义的类型,还是那个单元中定义的类型
我只会TRect
 
trectangle在哪个单元?
use了没有?
 
zhyesno说的没错,trectangle应该定义在utils单元中我想,但我无法找到这个单元定义,不知哪位高手能提供下载?
先接预付款20¥,结贴兑现
 
没有直接找到这个单元也可以看其他的标准单元中那个调用了这个单元,然后调用就可以了
 
我已经找到了utils查看源代码,问题解决了
 
多人接受答案了。
 
后退
顶部