游戏开发论坛

 找回密码
 立即注册
搜索
12
返回列表 发新帖
楼主: luotuo

DraculaLin 老大,请进!

[复制链接]

24

主题

116

帖子

116

积分

注册会员

Rank: 2

积分
116
 楼主| 发表于 2005-9-15 09:04:00 | 显示全部楼层

Re:DraculaLin 老大,请进!

谢老大!
      换了,可它和 DevExpress 有些冲突  ===》 dxPSCoreD7.bpl,怎么办呀?

0

主题

1

帖子

0

积分

新手上路

Rank: 1

积分
0
发表于 2005-9-15 09:19:00 | 显示全部楼层

Re:DraculaLin 老大,请进!

把devexpress置为不可用不就行了

要用时再打开

24

主题

116

帖子

116

积分

注册会员

Rank: 2

积分
116
 楼主| 发表于 2005-9-15 10:26:00 | 显示全部楼层

Re:DraculaLin 老大,请进!

我把 devexpress 里的 print 部分卸了,安装好了 Pro,于是:
     编译 Diablo2 Pro 版本,哎!过不去:

[Error] AsphyreDevices.pas(211): Undeclared identifier: 'Direct3D9'
[Error] AsphyreDevices.pas(211): Operator not applicable to this operand type
[Error] AsphyreDevices.pas(215): Undeclared identifier: 'Direct3D9'
[Error] AsphyreDevices.pas(216): Undeclared identifier: 'Direct3D9'
[Error] AsphyreDevices.pas(216): Operator not applicable to this operand type
[Error] AsphyreDevices.pas(226): Undeclared identifier: 'Direct3D9'
[Error] AsphyreDevices.pas(239): Undeclared identifier: 'Direct3D9'
[Error] AsphyreDevices.pas(239): Operator not applicable to this operand type
[Error] AsphyreDevices.pas(239): Undeclared identifier: 'Direct3D9'
[Error] AsphyreDevices.pas(272): Undeclared identifier: 'DXGetBestBackFormat'
[Error] AsphyreDevices.pas(276): Undeclared identifier: 'DXGetDisplayFormat'
[Error] AsphyreDevices.pas(279): Undeclared identifier: 'DXGetBestDepthFormat'
[Error] AsphyreDevices.pas(286): Undeclared identifier: 'D3DPresentParams'
[Error] AsphyreDevices.pas(316): Undeclared identifier: 'Direct3D9'
[Error] AsphyreDevices.pas(317): Undeclared identifier: 'D3DPresentParams'
[Error] AsphyreDevices.pas(317): Missing operator or semicolon
[Error] AsphyreDevices.pas(317): 'END' expected but ',' found
[Error] AsphyreDevices.pas(319): ';' expected but 'ELSE' found
[Error] AsphyreDevices.pas(336): '(' expected but ',' found
[Error] AsphyreDevices.pas(337): Undeclared identifier: 'Res'
[Error] AsphyreDevices.pas(337): Missing operator or semicolon
[Error] AsphyreDevices.pas(337): '(' expected but ')' found
[Error] AsphyreDevices.pas(338): Missing operator or semicolon
[Error] AsphyreDevices.pas(340): Undeclared identifier: 'Result'
[Error] AsphyreDevices.pas(342): Incompatible types: 'HDC' and 'procedure, untyped pointer or untyped parameter'
[Error] AsphyreDevices.pas(343): '.' expected but ';' found
[Error] AsphyreDevices.pas(348): Identifier redeclared: 'Finalization'
[Error] AsphyreDevices.pas(350): Undeclared identifier: 'NotifyOthers'
[Warning] AsphyreDevices.pas(351): Comparing signed and unsigned types - widened both operands
[Error] AsphyreDevices.pas(354): Undeclared identifier: 'FOnInitDevice'
[Error] AsphyreDevices.pas(354): Incompatible types
[Error] AsphyreDevices.pas(356): Undeclared identifier: 'Self'
[Warning] AsphyreDevices.pas(357): Comparing signed and unsigned types - widened both operands
[Warning] AsphyreDevices.pas(359): Text after final 'END.' - ignored by compiler
[Hint] AsphyreDevices.pas(45): Private symbol 'NotifiedLost' declared but never used
[Hint] AsphyreDevices.pas(52): Private symbol 'FindNotifyObj' declared but never used
[Hint] AsphyreDevices.pas(53): Private symbol 'NotifyOthers' declared but never used
[Error] AsphyreDevices.pas(65): Unsatisfied forward or external declaration: 'TAsphyreDevice.AddToNotify'
[Error] AsphyreDevices.pas(66): Unsatisfied forward or external declaration: 'TAsphyreDevice.RemoveFromNotify'
[Error] AsphyreDevices.pas(69): Unsatisfied forward or external declaration: 'TAsphyreDevice.DoneDevice'
[Error] AsphyreDevices.pas(71): Unsatisfied forward or external declaration: 'TAsphyreDevice.BeginScene'
[Error] AsphyreDevices.pas(72): Unsatisfied forward or external declaration: 'TAsphyreDevice.EndScene'
[Error] AsphyreDevices.pas(73): Unsatisfied forward or external declaration: 'TAsphyreDevice.Reset'
[Error] AsphyreDevices.pas(74): Unsatisfied forward or external declaration: 'TAsphyreDevice.Present'
[Error] AsphyreDevices.pas(75): Unsatisfied forward or external declaration: 'TAsphyreDevice.Clear'
[Hint] AsphyreDevices.pas(98): Private symbol 'SearchForDevice' declared but never used
[Error] AsphyreDevices.pas(99): Unsatisfied forward or external declaration: 'TAsphyreDeviceComponent.SetDevice'
[Error] AsphyreDevices.pas(101): Unsatisfied forward or external declaration: 'TAsphyreDeviceComponent.Notification'
[Error] AsphyreDevices.pas(102): Unsatisfied forward or external declaration: 'TAsphyreDeviceComponent.ReceiveNotice'
[Error] AsphyreDevices.pas(104): Unsatisfied forward or external declaration: 'TAsphyreDeviceComponent.FindClComponent'
[Error] AsphyreDevices.pas(106): Unsatisfied forward or external declaration: 'TAsphyreDeviceComponent.Create'
[Error] AsphyreDevices.pas(107): Unsatisfied forward or external declaration: 'TAsphyreDeviceComponent.Destroy'
[Error] AsphyreDevices.pas(119): Unsatisfied forward or external declaration: 'TAsphyreDeviceComponentEx.ReceiveNotice'
[Error] AsphyreDevices.pas(123): Unsatisfied forward or external declaration: 'TAsphyreDeviceComponentEx.Initialize'
[Error] AsphyreDevices.pas(124): Unsatisfied forward or external declaration: 'TAsphyreDeviceComponentEx.Finalize'
[Error] AsphyreDevices.pas(126): Unsatisfied forward or external declaration: 'TAsphyreDeviceComponentEx.Create'
[Error] AsphyreDevices.pas(127): Unsatisfied forward or external declaration: 'TAsphyreDeviceComponentEx.Destroy'
[Fatal Error] MainFm.pas(7): Could not compile used unit 'AsphyreDevices.pas'

24

主题

116

帖子

116

积分

注册会员

Rank: 2

积分
116
 楼主| 发表于 2005-9-15 10:28:00 | 显示全部楼层

Re:DraculaLin 老大,请进!

汉字的也一样

8

主题

74

帖子

76

积分

注册会员

Rank: 2

积分
76
发表于 2005-9-15 13:05:00 | 显示全部楼层

Re:DraculaLin 老大,请进!

狂晕。。。

Asphyre Pro 的安装和Diable例程的换版本调试,我最近也做过很多次了,每次都很顺利

因为版本多,一定要设好搜索路径,否则会有这种情况发生

程序员调试程序要有足够的耐心,如果别人能调通说明程序本身没问题,自己找找原因,这种情况问题很简单但说不清楚,要靠自己努力

24

主题

116

帖子

116

积分

注册会员

Rank: 2

积分
116
 楼主| 发表于 2005-9-15 15:17:00 | 显示全部楼层

Re:DraculaLin 老大,请进!

首先谢谢各位的帮助!
      但是我认为,既然是已经调试通过的程序,就不应该出现错误;我也想,是不是 D9的问题呢?于是,我重新了 D9,还是一个结果;那么,是不是你们的环境和我的不一样呢?比如,在你们的搜索路径里有的东西(自己写的类),没有被发上来,但对这些程序却有作用呢?
      我是个很笨的学生,需要老师更多的帮助哦!:)

      再就是,关于“汉字”的例程,我直接运行 DxFont.exe,还报告 AsphyreEx.dll 找不到呢!

9

主题

45

帖子

45

积分

注册会员

Rank: 2

积分
45
发表于 2005-9-15 15:29:00 | 显示全部楼层

Re:DraculaLin 老大,请进!

dxPSCoreD7.bpl里面也有一个DXBase.pas的文件
要不就把dxPSCordD7里面的DXBase改名,重新编译。
要不就把Asphyre里面的DXBase改名。我选择了后者。

你的错误看来还是搜索路径的问题。
Asphyre Pro 的安装和Diable例程都是没有问题的。

9

主题

45

帖子

45

积分

注册会员

Rank: 2

积分
45
发表于 2005-9-15 15:35:00 | 显示全部楼层

Re:DraculaLin 老大,请进!

是你搜索路径太多了,都删除了就留一个Asphyre Pro就好了。
那个需要AsphyreEx.dll 的是老版本的,用Pro重新编译一次就好了。
没有问题的。在试试吧。

24

主题

116

帖子

116

积分

注册会员

Rank: 2

积分
116
 楼主| 发表于 2005-9-15 17:27:00 | 显示全部楼层

Re:DraculaLin 老大,请进!

看来应该是我的问题,可我就是找不出问题出在哪,:(
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

作品发布|文章投稿|广告合作|关于本站|游戏开发论坛 ( 闽ICP备17032699号-3 )

GMT+8, 2025-12-27 20:09

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表