如题!

解决方案 »

  1.   

    我发上来
    “未能添加对E:\...\BargaingApplyV3_01036.dll”的引用。请确保此文件可访问并且是一个有效的程序集或COM组件。
    我知道,这个可能不是.NET程序集。不知道有什么办法可以添加这个应用。
      

  2.   

            [DllImport("comctl32.dll", CharSet = CharSet.Auto)]
            public static extern bool ImageList_BeginDrag(
                IntPtr himlTrack, // Handler of the image list containing the image to drag
                int iTrack,       // Index of the image to drag 
                int dxHotspot,    // x-delta between mouse position and drag image
                int dyHotspot     // y-delta between mouse position and drag image
            );
      

  3.   


    [DllImport("BargaingApplyV3_01036.DLL", CharSet = CharSet.Auto)]
    public static extern [返回类型] [你要引用的函数名]
    (
     [参数1],
    [参数2],
    . . .
    )
      

  4.   

    dll分好多种呢添加引用的适合于,net编译的dll和COM
    对于C++等编写的可以dllimport