C
C#15mo ago
Thommy

❔ C# dll

Is it possible to make a MySQL query with a class library (.dll)?
7 Replies
Thommy
Thommy15mo ago
We have a WPF app that transfers data from a game to our server. Since this is currently connected to a graphical interface, which is more or less unnecessary since all data is also displayed there in the game itself, I had the idea of reading the data via a dll and sending it to our server. Without an app, ideally the dll should be loaded when the system starts and the data should be sent as soon as the game is started.
HimmDawg
HimmDawg15mo ago
So if I understand you correctly: You have a game with data and another WPF app, that sends the game data to a server?
Tvde1
Tvde115mo ago
are you asking if you can use C# to query a MySQL datbaase? the answer is, you can
Angius
Angius15mo ago
A .dll is just a file format Class library project is not runnable, worth noting It's just a class library If you want to run some code without a GUI, use a console project
Thommy
Thommy15mo ago
Sorry, not at Home. Is it then possible to start the console project with the computer (I know autorun from the registry) and let it run in the background?
WhiteBlackGoose
WhiteBlackGoose15mo ago
yes, of course not sure what you mean "with the computer" I'd argue, it's not so easy without one 😄
Accord
Accord15mo ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.