Q
qh_ovo_hp
Guest
Hi, senior member
I use C# to read C to create DLL under WIN ARM OS and fail.
But the same set of procedures can be
I tried running on Win x86 OS
1. C DLL build 32/64 / ARM
2.C# Create x86 and 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.Messag();
}
}
public class CALL_DLL
{
[DllImport("Test.dll")]
public static extern byte Message();
}
// =============================================== ==
C DLL
DECLSPEC void __cdecl Message(void){
MessageBox(NULL,L“DLL call succeeded”,L“ Test_DLL”,MB_OK);
}
What is the difference between using API under WIN ARM?
Other settings are required to perform
PS: C++ calling C DLL works fine in Win ARM operating system
謝謝
漢斯_科技網
Continue reading...
I use C# to read C to create DLL under WIN ARM OS and fail.
But the same set of procedures can be
I tried running on Win x86 OS
1. C DLL build 32/64 / ARM
2.C# Create x86 and 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.Messag();
}
}
public class CALL_DLL
{
[DllImport("Test.dll")]
public static extern byte Message();
}
// =============================================== ==
C DLL
DECLSPEC void __cdecl Message(void){
MessageBox(NULL,L“DLL call succeeded”,L“ Test_DLL”,MB_OK);
}
What is the difference between using API under WIN ARM?
Other settings are required to perform
PS: C++ calling C DLL works fine in Win ARM operating system
謝謝
漢斯_科技網
Continue reading...