Click here to Skip to main content
15,887,175 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I need use this DLL:

https://github.com/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
Posted
Updated 31-Jan-18 23:26pm
Comments
David_Wimbley 31-Jan-18 17:38pm    
I would start with a google search.

How to use c++ dll in c#

1 solution

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.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900