B
bg9adq
Unregistered / Unconfirmed
GUEST, unregistred user!
我在用delphi编写USB A/D卡采集数据程序,用到了指针,明显发现比C++编写的要慢一些,用VB编写的未用指针,也快一些,是这样吗?
函数原型为:
Function USB_ReadDeviceAD( hDevice: Integer
InUser: Pointer;
ReadSizeWords: LongWord): Boolean
Stdcall
External 'USB2002.dll'
Name 'USB2002_ReadDeviceAD' ;
另外,编译时当用到@时,提示@不安全。是何道理?
先谢谢!
函数原型为:
Function USB_ReadDeviceAD( hDevice: Integer
InUser: Pointer;
ReadSizeWords: LongWord): Boolean
Stdcall
External 'USB2002.dll'
Name 'USB2002_ReadDeviceAD' ;
另外,编译时当用到@时,提示@不安全。是何道理?
先谢谢!