日期:2014-05-19  浏览次数:20952 次

有没有人用C# 弄过winio.dll 能不能给个帮助 谢谢
有没有人用C#   弄过winio.dll     能不能给个帮助     谢谢

------解决方案--------------------
没用过,关注
------解决方案--------------------
[DllImport( "winio.dll ", EntryPoint = "InitializeWinIo ")]
private static extern bool InitializeWinIo();

[DllImport( "winio.dll ", EntryPoint = "GetPortVal ")]
private static extern bool GetPortVal(int wPortAddr, out Int32 pdwPortVal, byte bSize);

[DllImport( "winio.dll ", EntryPoint = "SetPortVal ")]
private static extern bool SetPortVal(int wPortAddr, Int32 dwPortVal, byte bSize);

[DllImport( "winio.dll ", EntryPoint = "ShutdownWinIo ")]
private static extern bool ShutdownWinIo();

------解决方案--------------------
期待学习
------解决方案--------------------
c#2005找不着winio.dll,是不是去system32里找啊?也没有啊,愁死了。