It is currently May 2nd, 2024, 11:59 pm

HELP! Creating plugins in C#

Share and get help with Plugins and Addons
User avatar
jox
Posts: 12
Joined: April 1st, 2012, 4:35 am

HELP! Creating plugins in C#

Post by jox »

I downloaded the SDK here https://github.com/rainmeter/rainmeter-plugin-sdk, compiled PluginSystemVersion in VisualC# 2010 Express, delivered ready to plug in the Rainmeter 2.3 Beta (r1349), the plugin always returns value 0 always.

What did I do wrong?

Code in Rainmeter:

Code: Select all

[Test]
Measure=Plugin
Plugin=SystemVersion.dll
Type=String
poiru
Developer
Posts: 2872
Joined: April 17th, 2009, 12:18 pm

Re: HELP! Creating plugins in C#

Post by poiru »

Did you compile the correct version (32bit/64bit)? Check the Rainmeter log (right-click tray icon -> About) for errors.
User avatar
jox
Posts: 12
Joined: April 1st, 2012, 4:35 am

Re: HELP! Creating plugins in C#

Post by jox »

Understood, in the case DLLExporter (incorrect parameter), another question, i am not strong in assemblies, i want to connect the library Bass.Net.dll, i have it turned on the console applications, but here and try Rainmeter crash... Possible to connect Bass.Net.dll? and how?
User avatar
jox
Posts: 12
Joined: April 1st, 2012, 4:35 am

Re: HELP! Creating plugins in C#

Post by jox »

poiru, where are you? :)