G
Guest
Hi I have a vb.net app and am trying to call a C program from it, perhaps a dll or executable. This is unmanaged code, just wondering if someone could provide a brief example? Thanks Paul.
Hi I have a vb.net app and am trying to call a C program from it, perhaps a dll or executable. This is unmanaged code, just wondering if someone could provide a brief example? Thanks Paul.
* "=?Utf-8?B?UGF1bA==?= said:Hi I have a vb.net app and am trying to call a C program from it,
perhaps a dll or executable. This is unmanaged code, just wondering if
someone could provide a brief example? Thanks Paul.
* "=?Utf-8?B?UGF1bA==?= said:thanks for the information. How would I call this simple c function from vb.net passing params to it and also receiving the return param.
vb.net want to pass in 3,4 and get the integer results
results = sum_a_and_b(3,4)
c function
int sum_a_and_b (int a, int b)
{
int c;
c = a + b;
return (c);
}