我的问题是这样的,    [DllImport("hspos.dll", EntryPoint = "openport")]
    private static extern int openport(int port);
    [DllImport("hspos.dll", EntryPoint = "downfile")]
    private static extern int downfile(int port, string filename);
    [DllImport("hspos.dll", EntryPoint = "downtofile")]
    private static extern int downtofile(int port, string fname,string fname2);
    [DllImport("hspos.dll", EntryPoint = "upfile")]
    private static extern int upfile(int port, string filename);
    [DllImport("hspos.dll", EntryPoint = "uptofile")]
    private static extern int uptofile(int port, string fname,string fname2);
    [DllImport("hspos.dll", EntryPoint = "findfile")]
    private static extern int findfile(int port, string filename);
    [DllImport("hspos.dll", EntryPoint = "deletefile")]
    private static extern int deletefile(int port, string filename);
    [DllImport("hspos.dll", EntryPoint = "hs_state")]
    private static extern int hs_state(int port);在C#中是这样写的,hspos.dll是放在C:\WINDOWS\system下面的,使用源程序时能够找到hspos.dll,但是发布后,hspos.dll
就无法找到了,请各位帮帮忙了,谢谢了。