자유롭게 질의 및 응답을 할 수 있는 게시판입니다. 개발자 여러분의 답변이 큰 도움이 됩니다.
- 제품설치/등록 오류 문의: 설치/등록 Q&A 이용 (제품 구매 고객 한정)
Delphi System.Bluetooth.TBluetoothGattCharacteristic.SetValue 질문
2015.04.15 17:45
해당 메소드의 파라미터가 const aValue : TBytes 이것인데 바이트 배열이 아닌가요?
[DCC Error] ScanDevice.pas(101): E2010 Incompatible types: 'System.TArray<System.Byte>' and 'form.TByteArray'
이런 에러가 뜹니다 인자를 어떤걸 줘야 할까요
댓글 1
-
var Bytes: TBytes;begin // 방법1 Bytes := [1, 2];
// 방법2 SetLength(Bytes, 2); Bytes[0] := 1; Bytes[1] := 2;
Delphi System.Bluetooth.TBluetoothGattCharacteristic.SetValue 질문
2015.04.15 17:45
해당 메소드의 파라미터가 const aValue : TBytes 이것인데 바이트 배열이 아닌가요?
[DCC Error] ScanDevice.pas(101): E2010 Incompatible types: 'System.TArray<System.Byte>' and 'form.TByteArray'
이런 에러가 뜹니다 인자를 어떤걸 줘야 할까요
댓글 1
-
varBytes: TBytes;begin// 방법1Bytes := [1, 2];// 방법2SetLength(Bytes, 2);Bytes[0] := 1;Bytes[1] := 2;