Comments (6)
Alright, I understand, thanks for the response.
from discord-rpc.
Windows XP is dead. Having a computer running XP connected to the internet is nothing but irresponsible. Nobody will go any extra mile to fix an issue with an operating system this old.
You should tell your users to move to an operating system that is not 16 years old. If you really want to support XP, fork the repo, make the changes yourself, and distribute your modified version of the library. But that's a waste of effort in my opinion.
from discord-rpc.
While a valid use case, Discord unfortunately does not support Windows XP in an official or unofficial capacity. Apologies that we can't offer more help with it, but we won't change the SDK for non-supported Windows versions.
from discord-rpc.
I encountered this issue as well.
Due to the registry functions, it's not possible to use the library in XP.
@msciotti I don't think it needs any SDK changes, in fact I built it in VS2017, SDK 10.0.16299.0, Toolset v141 (not the xp support variant) and it works fine in XP.
(The library that the game interacts with is built with xp toolset though).
The discord-rpc code is not used in XP given the fact that discord won't run in XP, but at least this allows the game to run in XP with discord rpc statically linked.
Here are the changes I did to the registry functions
from discord-rpc.
@Solybum appreciate your linking your fix. If you're interested, I'd be happy to have you PR that logic in a conditional block to at least allow people to run their games on Windows XP without the SDK being a blocker.
from discord-rpc.
Do you think it would be ok to just change the registry functions to their older variant without any conditional compilation?
As per the comment at the beginning of the file.
some of functions used here require WINNT >= 6.0 APIs
Such API is e.g. RegSetKeyValueW.
However, RegOpenKeyExW and RegSetValueExW should work here too.
The problem is that linking the library on a different project with XP support won't be able to find the functions currently used.
from discord-rpc.
Related Issues (20)
- NoClassDefFoundError when running minecraft client with discord-rpc HOT 3
- Websocket rpc closing with invalid origin even tho I don't include it.
- Cannot read properties of null (reading 'send')
- Can't display game invite option.
- Error: Could not connect HOT 1
- Having issues displaying large_image and large_text HOT 1
- Whats Wrong? | java.lang.NoClassDefFoundError: club/minnced/discord/rpc/DiscordRPC HOT 2
- discord-rpc compiling error
- Translating mod...
- Discord RPC not working in Debian based systems
- Compilation fails on UWP
- RPC not working; HOT 2
- [Feature Request] Dynamically set Application name ("Playing ...") HOT 12
- Discord SDK/RPC with C# - what to chose? HOT 3
- Please reverse the deprecation on this repo HOT 2
- Stopping integration after leaving play mode Unity
- Timestamps. End. HOT 3
- RPC doesnt send the user banner and other user info HOT 1
- F HOT 1
- I want to show my discord Rich Presence on my HTML Site, How!?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from discord-rpc.