Reputation: 21
I have c# code that initializes a force feedback joystick and plays force effect file. I want to change this c# console application into a dll file so that I can use it in labview.
Converting a C# Console App to a DLL
What I understood from this post is that I just need to create a class library and copy paste my codes there, is this correct? I did get a dll file by just doing that. If I'm wrong can you explain how to convert a console application to a dll?
Upvotes: 1
Views: 1598
Reputation: 43
Remember a DLL does not automatically execute the "Main" method. So:
Upvotes: 4