Page 1 of 1

Integrating Steamworks into an a program

Posted: Fri Oct 28, 2011 9:35 pm
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?

Re: Integrating Steamworks into an a program

Posted: Fri Oct 28, 2011 11:32 pm
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