关于数据类型!

jtg98g3 2003-10-17 08:54:11
vc中的long和dword这两个数据类型在delphi中用什么样的数据类型来说明呢?
...全文
26 6 打赏 收藏 转发到动态 举报
写回复
用AI写文章
6 条回复
切换为时间正序
请发表友善的回复…
发表回复
jtg98g3 2003-10-18
  • 打赏
  • 举报
回复
这么多答案,怎么都不一样呢!

在vc中long是多少字节呢!?能否用car..(忘记后面是怎么写的了)

那dword呢,是不是跟asm中的dword一样呢1?
jacket008 2003-10-17
  • 打赏
  • 举报
回复
正如楼上所说
boycenchen 2003-10-17
  • 打赏
  • 举报
回复
long----->real(6字节)
dword----->double(8字节)
snowfog 2003-10-17
  • 打赏
  • 举报
回复
vc:
Long,DWord
Delphi:
LongInt,DWord
iLvXX1981 2003-10-17
  • 打赏
  • 举报
回复
long=longint;
dword=dword,longword

vc:
BOOL A Boolean value.


BSTR A 32-bit character pointer.


BYTE An 8-bit integer that is not signed.


COLORREF A 32-bit value used as a color value.


DWORD A 32-bit unsigned integer or the address of a segment and its associated offset.


LONG A 32-bit signed integer.


LPARAM A 32-bit value passed as a parameter to a window procedure or callback function.


LPCSTR A 32-bit pointer to a constant character string.


LPSTR A 32-bit pointer to a character string.


LPCTSTR A 32-bit pointer to a constant character string that is portable for Unicode and DBCS.


LPTSTR A 32-bit pointer to a character string that is portable for Unicode and DBCS.


LPVOID A 32-bit pointer to an unspecified type.


LRESULT A 32-bit value returned from a window procedure or callback function.


UINT A 16-bit unsigned integer on Windows versions 3.0 and 3.1; a 32-bit unsigned integer on Win32.


WNDPROC A 32-bit pointer to a window procedure.


WORD A 16-bit unsigned integer.

aiunong 2003-10-17
  • 打赏
  • 举报
回复
longint word

5,379

社区成员

发帖
与我相关
我的任务
社区描述
Delphi 开发及应用
社区管理员
  • VCL组件开发及应用社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧