質問編集履歴
2
訂正
title
CHANGED
File without changes
|
body
CHANGED
@@ -17,7 +17,7 @@
|
|
17
17
|
|
18
18
|
【C#側】
|
19
19
|
```ここに言語を入力
|
20
|
-
[DllImport("
|
20
|
+
[DllImport("API_ver1.0.0.dll", CallingConvention = CallingConvention.StdCall)]
|
21
21
|
public static extern void Send_CTR_CMD(uint num,uint *data);
|
22
22
|
|
23
23
|
|
1
訂正
title
CHANGED
File without changes
|
body
CHANGED
@@ -20,12 +20,16 @@
|
|
20
20
|
[DllImport("IXXAT_API_ver1.0.0.dll", CallingConvention = CallingConvention.StdCall)]
|
21
21
|
public static extern void Send_CTR_CMD(uint num,uint *data);
|
22
22
|
|
23
|
+
|
23
|
-
|
24
|
+
private void button5_Click(object sender, EventArgs e)
|
25
|
+
{
|
24
26
|
|
27
|
+
uint[] data = new uint[8];
|
28
|
+
|
25
29
|
data[0] = Convert.ToUInt32(tBox2.Text);
|
26
30
|
data[1] = Convert.ToUInt32(tBox3.Text); ....
|
27
31
|
|
28
|
-
DLLimpo.Send_CTR_CMD(Convert.ToUInt32(tBox1.Text), data);
|
32
|
+
DLLimpo.Send_CTR_CMD(Convert.ToUInt32(tBox1.Text), data); }
|
29
33
|
```
|
30
34
|
|
31
35
|
こうしたところ、uint[]からuint*へ変換することはできませんとのエラーがでます。
|