Domino 9 und frühere Versionen > Entwicklung
DataType Byte
Hoshee:
Yoo,
ich möchte über die API-Funktion keydb_event der Klasse Keyboard einen SnapShot eines Fensters in die Zwischenablage kopieren.
Leider frisst Notes nicht die Anweisung
Declare Sub keybd_event Lib "user32.dll" (ByVal bVk As Byte, ByVal bScan As Byte, ByVal dwFlags As Long, ByVal dwExtraInfo As Long)
FM: Class or type name not found: BYTE
Was kann ich tun?
Gruss ...
Hoshee
ata:
... ersatzweise kannst du doch Variant oder Integer verwenden - hast du es damit schon versucht...
ata
eknori:
Guckst du http://www.nsftools.com/tips/APITips.htm
da findest du die "Ersatztypen"
:D
Glombi:
@eknori:
Dort steht
BYTE, BOOLBYTE = Byte in R5+,cannot convert pre-R5
Es gibt aber in R5 keinen Datentyp Byte. Erst ab R6 !
Example
Specifies a variable that contains a single, one-byte unsigned number.
Usage
A Byte value is a positive integer in the range 0 to 255, inclusive, stored as a single, 8-bit (1 -byte) unsigned number.
Byte variables are initialized to 0.
There is no suffix character for the Byte data type.
A byte type can be used anywhere an integer type can be used. The baseline specification for the Byte data type is the same as the byte data type in Visual Basic.
Byte is both a value and a data type. This means a byte value can be stored in either a variable declared as the Byte data type or a variable declared as a variant. Because a value retrieved from a variant may be significant, both cases must be tested for.
ata:
... da steht
Byte in R5+,
cannot convert pre-R5
... und nu - doch Integer oder Variant???
ata
Navigation
[0] Themen-Index
[#] Nächste Seite
Zur normalen Ansicht wechseln