控件的一个方法应返回long值-19,在C++、VB中测试都正确,但在Delphi控件的返回值在提示中已经自动变位Integer,可能Delphi的Integer和C++、VB中的long等价。但是返回的值4572872,好象是地址??!!
而在Delphi5中却一切正常!!!
请各位帮忙解答
7 个解决方案
#1
delphi有longint表示长整型,你可以看看
Fundamental integer types include Shortint, Smallint, Longint, Int64, Byte, Word, and Longword.
Fundamental integer types include Shortint, Smallint, Longint, Int64, Byte, Word, and Longword.
#2
给D6打补丁
#3
哪里有补丁啊,我时所有的类型都试过了
#4
d6是没有d5稳定
#5
哪里有补丁啊!!???
#6
http://www.playicq.com/dispdoc.asp?id=698
http://202.96.70.228/cakk/delphi/delphi.htm
http://202.96.70.228/cakk/delphi/delphi.htm
#7
给你个例子看一下
#1
delphi有longint表示长整型,你可以看看
Fundamental integer types include Shortint, Smallint, Longint, Int64, Byte, Word, and Longword.
Fundamental integer types include Shortint, Smallint, Longint, Int64, Byte, Word, and Longword.
#2
给D6打补丁
#3
哪里有补丁啊,我时所有的类型都试过了
#4
d6是没有d5稳定
#5
哪里有补丁啊!!???
#6
http://www.playicq.com/dispdoc.asp?id=698
http://202.96.70.228/cakk/delphi/delphi.htm
http://202.96.70.228/cakk/delphi/delphi.htm
#7
给你个例子看一下