Das Notes Forum
Domino 9 und frühere Versionen => Entwicklung => Thema gestartet von: Hoshee am 09.07.03 - 08:27:38
-
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
-
... ersatzweise kannst du doch Variant oder Integer verwenden - hast du es damit schon versucht...
ata
-
Guckst du http://www.nsftools.com/tips/APITips.htm
da findest du die "Ersatztypen"
:D
-
@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.
-
... da steht
Byte in R5+,
cannot convert pre-R5
... und nu - doch Integer oder Variant???
ata
-
Yoo,
ich wußte doch: Auf euch ist verlass!
Ich werde es mal mit Integer oder Variant testen. Erfahrungsbericht folgt ;D
Gruss ...
Hoshee
-
uups, hatte ich übersehen :-[ ich denke aber, variant ist auf jeden Fall nicht verkehrt.