Integrating Steamworks into an a program

Everything else that doesn't fall into one of the other PB categories.
Nituvious
Addict
Addict
Posts: 1033
Joined: Sat Jul 11, 2009 4:57 am
Location: United States

Integrating Steamworks into an a program

Post by Nituvious »

I was discussing with a friend of mine who recently learned about PureBasic and Ogre. He has a pretty fun action game written in C that he wants to convert to another easier-to-manage language like PureBasic.

Anyway, we were discussing it and he brought up an interesting point about integrating Steamworks into the game so that he could get it on steam.

How would anyone go about integrating Steamworks into a program that was written in PB? From the FAQ(found here) it says that the Steamworks API is written in C++, would this pose a problem when trying to integrate the api into a PureBasic program?
▓▓▓▓▓▒▒▒▒▒░░░░░
User avatar
idle
Always Here
Always Here
Posts: 6238
Joined: Fri Sep 21, 2007 5:52 am
Location: New Zealand

Re: Integrating Steamworks into an a program

Post by idle »

It appears to have interface classes so that could mean that either it's a com lib which would be no problem for windows
or it might just be using the abstract virtual classes method which presents a "Interfaces" these can be used from PB interfaces
in some cases though I haven't figured out exactly why just know its a thunking issue
Windows 11, Manjaro, Raspberry Pi OS
Image
Post Reply