Cannot add reference to Skype4COM .dll on Windows 7 x64

怎甘沉沦 提交于 2019-12-05 14:43:14

The type library embedded in skype4com.dll is not very clean and generates warnings. Enough to stop the IDE from adding it. You will have to do it by hand. Start the Visual Studio Command Prompt and run the tlbimp.exe utility to generate the import library. You'll see the warnings but get the .dll you need. Afaik the warnings are benign as long as you only use it from a project which has the Platform target setting at "x86".

My approach is different, but it works for me. In command line: regsvr32 skype4com.dll , then you can add reference as usual in IDE.

The instructions here finally allowed me to solve this problem and explained the problems I was having. Wanted to post it in case anyone else might find it useful.

Compile your app for 32bits. Build -> Platform Target: x86. This works on 32bits and 64bits

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!