C
C#2y ago
Thommy

❔ C# dll

Is it possible to make a MySQL query with a class library (.dll)?
7 Replies
Thommy
ThommyOP2y 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
HimmDawg2y 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
Tvde12y ago
are you asking if you can use C# to query a MySQL datbaase? the answer is, you can
Angius
Angius2y 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
ThommyOP2y 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
yes, of course not sure what you mean "with the computer" I'd argue, it's not so easy without one 😄
Accord
Accord2y 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.
Want results from more Discord servers?
Add your server