回答編集履歴

1

ToArray を渡しちゃダメな気がする

2019/11/16 16:56

投稿

KOZ6.0
KOZ6.0

スコア2707

test CHANGED
@@ -72,7 +72,9 @@
72
72
 
73
73
  lst.Add(New SCARD_READERSTATE(reader2))
74
74
 
75
+ Dim arrays As SCARD_READERSTATE() = lst.ToArray()
76
+
75
- Dim result As UInteger = SCardGetStatusChange(hContext, dwTimeout, lst.ToArray(), lst.Count)
77
+ Dim result As UInteger = SCardGetStatusChange(hContext, dwTimeout, arrays, lst.Count)
76
78
 
77
79
  ```
78
80