DLL调用和DLL用何种语言编写没有关系吧?!
在项目中加入.h,.lib文件,然后在执行文件目录下放置DLL即可。
其他问题可以查询MSDN。

解决方案 »

  1.   

    只有一个dll文件,其中内容如:
    using System;
    using System.Text;
    using System.Security.Cryptography;
    namespace RSAApplication
    {
        /// <summary>
        /// RSACryption 的摘要说明。
        /// </summary>
        public class RSACryption
        {
            #region 构造函数
            public RSACryption()
            {
                //
                // TODO: 在此处添加构造函数逻辑
                //
            }
            #endregion            public void RSAKey(out string xmlKeys, out string xmlPublicKey)
            {
            }
    }生成结果为rsa.dll,我要在VC中使用该函数接口,应该如何呢?