Page 1 of 1

can I use dlls with class?

Posted: Sat May 22, 2021 3:44 am
by skinkairewalker
hello, I have been looking for ways to use the SteamWorks API for a while, the only way I found was to create a procedural DLL that calls the SteamWorks API and import it into purebasic ...

I would like a way that I can call the SteamWorks functions directly, without having to create a dll wrapper ....

official page : ( only for SteamWorks developer )
https://partner.steamgames.com/download ... dk_151.zip
google drive :
https://drive.google.com/file/d/1_aBiFv ... 8mX52/view

Re: can I use dlls with class?

Posted: Sat May 22, 2021 4:42 am
by IceSoft
You cannot download it without a steamwork account.

Re: can I use dlls with class?

Posted: Sat May 22, 2021 8:11 pm
by skinkairewalker
sorry, I uploaded the sdk to the google drive
https://drive.google.com/file/d/1_aBiFv ... sp=sharing

Re: can I use dlls with class?

Posted: Wed May 26, 2021 11:01 am
by IceSoft
skinkairewalker wrote: Sat May 22, 2021 8:11 pm sorry, I uploaded the sdk to the google drive
https://drive.google.com/file/d/1_aBiFv ... sp=sharing
Is this allowed to store it out of the official download page, usable for everybody without a license few?

Re: can I use dlls with class?

Posted: Wed May 26, 2021 2:57 pm
by skinkairewalker
IceSoft wrote: Wed May 26, 2021 11:01 am Is this allowed to store it out of the official download page, usable for everybody without a license few?
yes, it's free for everyone ...
you just need to have an account, go to > https://partner.steamgames.com/downloads/list
and sign the terms of use contract

Re: can I use dlls with class?

Posted: Thu May 27, 2021 5:07 am
by IceSoft
skinkairewalker wrote: Wed May 26, 2021 2:57 pm
IceSoft wrote: Wed May 26, 2021 11:01 am Is this allowed to store it out of the official download page, usable for everybody without a license few?
yes, it's free for everyone ...
... which has an account. Not for everybody.
Your external download is not needed.

Re: can I use dlls with class?

Posted: Fri May 28, 2021 9:43 am
by Rinzwind
@Ice
Please be quiet if you dont have anything to add to a solution.

Anyway, guess you need a c++ c wrapper…
Possibly PB interface can be of use, but I only saw that used with COM objects (ActiveX).

Re: can I use dlls with class?

Posted: Fri May 28, 2021 12:43 pm
by StarBootics
Hello everyone,

The answer is probably NO, You can't ! According to some tests I have presented in C++ OOP library and Interface even if it's possible, the C++ code need to be written and compiled in a certain way with some extra functionalities.

So if you compile the libraries yourself you can add these functionalities. But if it's already compiled and released as is, forget about it. You are better off to switch to C++ altogether.

Best regards
StarBootics

Re: can I use dlls with class?

Posted: Mon May 31, 2021 10:42 am
by Mijikai
I only used some steam stuff a year ago when i wrote a clan mod for a game that needed authentication.
It wasnt to hard, interfaces worked for me back then so give it a try.
Im pretty sure i also saw some steam stuff in the forum which might be helpful, good luck.