When using DLLImport to load a dll is there a way to pass it a string variable instead of a constant. I tried giving it a string variable and it will throw a exception saying it needs a constant expression, typeof expression or a array expression. The reason I am asking this question is because...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.