Coder Social home page Coder Social logo

xmplaydiscordstatus's People

Contributors

ham62 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

xmplaydiscordstatus's Issues

Attempting to build with VS2019 does not work

disclaimer: i do not know a single bit of coding

This is a great plugin, but I wanted to change a few values for myself (mainly changing the asset icons and what metadata is displayed), so I cloned and tried building without changing anything as a test, but it gave me this error:

XMPlayDiscordStatus\source\XMPlayDiscordStatus.vcxproj : warning : The build tools for Visual Studio 2013 - Windows XP (v120_xp) cannot be found. Install Visual Studio 2013 - Windows XP (v120_xp) to build using the Visual Studio 2013 - Windows XP (v120_xp) build tools.

I didn't have that on me and I don't really have the disk space for another version of Visual Studio, so I decided to just change the platform toolset and the SDK version to what is currently on my computer. [SDK version 10.0.19041.0, Visual Studio 2019 (v142)]
Afterwords, I tried building, but it failed with 26 errors, 24 being in rpc.h and 2 being in main.cpp.

Here's log one: build1.txt

I did a little bit of rudimentary research, and apparently I can get rid of the 24 errors by adding #pragma once to the beginning of the header, so I went and did that, and I tried building once again. This time it failed with only two errors, the same two that were in main.cpp.

Log two: build2.txt

I looked up what error C2440 was about, and I found this link and I decided to attempt to fix it by changing these two lines

pszFirstLine = "No tracks playing.";
pszSecondLine = "";

with

const char* pszFirstLine = "No tracks playing.";
const char* pszSecondLine = "";

and tried building again. This time, it works! But... upon loading the plugin in XMPlay, the program crashes. Upon debugging, I found this: image

This is at

strcpy_s(szDetails, 128, pszFirstLine);

At this point, I'm at a standstill and I don't know what to do from here. Thank you once again, and sorry for the trouble!

Can't see the display

After putting both files in the plugin folder, nothing happens. Is there something I am doing wrong, or is there a problem with the files?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.