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.

Dark GDK / need help with multiplayer

Author
Message
sempre
19
Years of Service
User Offline
Joined: 7th Jan 2005
Location: Puerto Rico
Posted: 12th Jan 2005 04:30
hey, i was translating a code i found in a dbasic tutorial about multiplayer, it hidden in the DGSDK documentation. But im having trouble with this function, can somebody explain me how to use it:



the SDK documentation says its definition is:

char* dbCheckListString ( int IntegerValue )

but in the .h of the system file says the function definition is:

(btw, the documentation looks incomplete)

DWORD dbChecklistString ( DWORD pDestStr, int iIndex );

can this be converted to a char* ?

the full code is here:

OSX Using Happy Dude
21
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 12th Jan 2005 05:49
Quote: "DWORD dbChecklistString ( DWORD pDestStr, int iIndex );"

Its been mentioned before in other posts...

Can do :

str=(LPSTR) dbChecklistString (0,index);

Visit http://homepages.nildram.co.uk/~nickk/
I have no signature.
sempre
19
Years of Service
User Offline
Joined: 7th Jan 2005
Location: Puerto Rico
Posted: 13th Jan 2005 11:36
i worked! thanks a lot. I get the following warning though:

* conversion from 'DWORD' to 'char *' of greater size

not sure if this can cause trouble in the long run.

Login to post a reply

Server time is: 2024-11-18 23:33:18
Your offset time is: 2024-11-18 23:33:18