Q
qh_ovo_hp
Guest
hi Advanced Members
I use C# under WIN ARM OS to read C create DLL failed.
But the same set of programs can run on Win x86 OS
I tried
1. C DLL build 32/64/ARM
2.C# Create x86/anyCPU
3. DLL and C# exe are executed in the same folder
//=================================================
C# program
public partial class Form1 : Form
{
private void button1_Click(object sender, EventArgs e)
{
CALL_DLL.Message();
}
}
public class CALL_DLL
{
[DllImport("Test.dll")]
public static extern void Message();
}
//=================================================
C DLL
DECLSPEC void __cdecl GRGBDLL_GetMEKBTYPE(void) {
MessageBox(NULL, L"call DLL success", L"Test_DLL", MB_OK);
}
is there any difference in using API under WIN ARM?
Still need other settings to execute
PS: C++ call C DLL works normally under Win ARM os
thank
Hans_TechNet
Continue reading...
I use C# under WIN ARM OS to read C create DLL failed.
But the same set of programs can run on Win x86 OS
I tried
1. C DLL build 32/64/ARM
2.C# Create x86/anyCPU
3. DLL and C# exe are executed in the same folder
//=================================================
C# program
public partial class Form1 : Form
{
private void button1_Click(object sender, EventArgs e)
{
CALL_DLL.Message();
}
}
public class CALL_DLL
{
[DllImport("Test.dll")]
public static extern void Message();
}
//=================================================
C DLL
DECLSPEC void __cdecl GRGBDLL_GetMEKBTYPE(void) {
MessageBox(NULL, L"call DLL success", L"Test_DLL", MB_OK);
}
is there any difference in using API under WIN ARM?
Still need other settings to execute
PS: C++ call C DLL works normally under Win ARM os
thank
Hans_TechNet
Continue reading...