在vs2008里使用pinvoke.net插件

英文原文:http://www.red-gate.com/supportcenter/GeneralContent.aspx?c=knowledgebase\PInvoke\KB200711000198.htm

PInvoke.net add-in support for Visual Studio 2008

PInvoke.net目前安装版本只支持自动添加到vs.net2005,但你只需要在配置文件中做一些小修改,同样可以添加到2008去。
首先打开配置文件:PInvoke.net 安装目录下的

%programfiles%\red gate\PInvoke.NET\PInvokeDotNetAddIn.Addin

在以下配置后面
---------------------------------------------

< HostApplication >
< Name > Microsoft Visual Studio Macros </ Name >
< Version > 8.0 </ Version >
</ HostApplication >
< HostApplication >
< Name > Microsoft Visual Studio </ Name >
< Version > 8.0 </ Version >
</ HostApplication >

 

----------------------------------------------
添加以下配置
----------------------------------------------

< HostApplication >
< Name > Microsoft Visual Studio Macros </ Name >
< Version > 9.0 </ Version >
</ HostApplication >
< HostApplication >
< Name > Microsoft Visual Studio </ Name >
< Version > 9.0 </ Version >
</ HostApplication >

 

然后保存文件

打开vs2008,打开菜单:工具》选项》环境》外接程序/宏的安全性

然后选择添加,选择PInvoke.NET的安装路径。 (比如:c:\program files\red gate\PInvoke.NET)

按确定。重新打开vs2008之后就可以看到附加的菜单了。

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
PInvoke件 RedGate.PInvokeExtension VS平台调用PInvoke 平台调用 调用C++ 调用系统 C#调C++, Search Module: Directory Constants Delegates Enums Interfaces Structures Desktop Functions: advapi32 avifil32 cards cfgmgr32 comctl32 comdlg32 credui crypt32 dbghelp dbghlp dbghlp32 dhcpsapi difxapi dmcl40 dnsapi dtl dwmapi faultrep fbwflib fltlib fwpuclnt gdi32 gdiplus getuname glu32 glut32 gsapi hhctrl hid hlink httpapi icmp imm32 iphlpapi iprop irprops kernel32 mapi32 MinCore mpr mqrt mscorsn msdelta msdrm msi msports msvcrt ncrypt netapi32 ntdll ntdsapi odbc32 odbccp32 ole32 oleacc oleaut32 opengl32 pdh powrprof printui propsys psapi pstorec query quickusb rasapi32 rpcrt4 scarddlg secur32 setupapi shell32 shlwapi twain_32 unicows urlmon user32 userenv uxtheme version wer wevtapi winfax winhttp wininet winmm winscard winspool wintrust winusb wlanapi ws2_32 wtsapi32 xolehlp xpsprint Smart Device Functions: aygshell coredll ipaqutil rapi Glossary distributed computing LibHolocaust Marshaling Marshalling Marshalling PInvoke test pinvoke Show Recent Changes Subscribe (RSS) Misc. Pages Comments FAQ Helpful Tools Playground Suggested Reading Website TODO List Support Forum Download Visual Studio Add-In Terms of Use Privacy Policy Create page PInvoke (glossary) Summary The mechanism provided by the CLR that enables managed code to call static DLL exports. Access PInvoke.net directly from VS: Terms of Use Edit This Page Find References Show Printable Version Revisions Show changes

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值