Current location - Quotes Website - Personality signature - The reason why C# calls an unmanaged DLL may be that the managed PInvoke signature does not match the unmanaged target signature.
The reason why C# calls an unmanaged DLL may be that the managed PInvoke signature does not match the unmanaged target signature.
[DllImport("dcrf32.dll ",calling conventi on = calling conventi on。 StdCall)]
Public static extern int ptrdc _ init (port int16, Int32 baud);