Directly on the code:
C # code:
The static extern int app_cc1125_spi_init ();
[DllImport (" cc1125_demo_app. DLL, "EntryPoint=" app_cc1125_device_open ")]
The static void Main (string [] args)
{
App_cc1125_device_open ();
}
C # call DLL compiler after good demo under Linux operating results and native c code to run, call this function is open the spi mouth of the native c code this function can be normal open the spi mouth, c # call c wrapper DLL library doesn't open, solving!!!!!!!!!!!!!!!!!!!!