Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DLL Talk / PureBasic Multiplayer .dll

Author
Message
Killswitch
22
Years of Service
User Offline
Joined: 2nd Oct 2002
Location: School damnit!! Let me go!! PLEASE!!!
Posted: 5th Jan 2005 01:58
I am planning to write a .dll (as well as a supporting server application (although if I get round to it you will able to create your own)) in PureBasic.

I would like to make this avaliable to as many lanugages and Game Creators as I can. I have two questions:

1) Are there any features you would particulary like to see?

2) I saw the tutorial on PureBasic .dll's in the Newsletter, I am about to read over it now but I'm sure it mentioned something about strings being handled differently in PB. Will this cause a problem?

~It's a common mistake to make, the rules of the English langauge do not apply to insanity~
Freddix
AGK Developer
22
Years of Service
User Offline
Joined: 19th Sep 2002
Location: France
Posted: 6th Jan 2005 03:30
string are handled in the same way but, in fact when you passs string from dbpro to purebasic, you'll receive the memory pointer for the string . so under purebasic you'll have simply to read your string using a PeekS( *pointer ) ...
When you want to send a string from purebasic to dbpro, you must send the pointer to the string .... it's the same thing but reversed

I think it shouldn't cause problems ...

if you need more details, contact me on msn

Login to post a reply

Server time is: 2024-11-23 10:05:50
Your offset time is: 2024-11-23 10:05:50