本文介绍了如何在C#中使用此DLL(C ++)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我需要使用这个DLL: https:// github / audiorouterdev / audio-router audio-routes.dll 但是我不知道在c#中我应该使用什么代码来使用DllImport,请帮助我! 我尝试了什么: 我尝试使用引用它的库(不是dllimport)但它不起作用,我需要if或者如果我使用DLLimport
I need use this DLL: github/audiorouterdev/audio-router audio-routes.dll but I do not know what codes I should use to use the DllImport in c#, please help me! What I have tried: I try to use the library referring to it (not dllimport) but it does not work, I need if or if I use DLLimport
推荐答案正式记录了这是如何完成的。请查看我的文章和示例代码。 提示:通常使用外部包装类来处理数据转换是有意义的。 It is officially documented how this is done. Take a look at my article and sample code. Tip: often it makes sense to use an "outer" wrapper class to handle data conversion.
更多推荐
如何在C#中使用此DLL(C ++)
发布评论