百度空间 | 百度首页 
               
 
查看文章
 
类型库导入程序 (Tlbimp.exe)及非托管非COM动态链接库文件方法获取
2006-08-09 14:09

COM:

tlbimp /out:interop.msxml2.dll msxml2.dll 

非托管非COM动态链接库文件方法获取:

dumpbin /exports /out:method.txt sqlite3.dll 或者 link /dump /exports /out:method.txt sqlite3.dll

using System;
using System.Runtime.InteropServices;
class MainClass 
{
    [DllImport("User32.dll")]
    public static extern int MessageBox(int h, string m, string c, int type);

    static int Main() 
    {
        string myString; 
        Console.Write("Enter your message: ");
        myString = Console.ReadLine();
        return MessageBox(0, myString, "My Message Box", 0);
    }
}

类别:默认分类 | 添加到搜藏 | 浏览() | 评论 (1)
 
最近读者:
 
网友评论:
1
2007-08-26 16:36 | 回复
在 。net中导出speech 语音识别的dll 怎么弄呢? 谢谢您 急用!@#
 
发表评论:
姓 名:
网址或邮箱: (选填)
内 容:
验证码: 请点击后输入四位验证码,字母不区分大小写
      

     

©2009 Baidu