Kaillera Call Functions

Post here everything related to the Kaillera SDK (applications announcements/troubles/questions).

Moderators: toqer, gothic_hobbit, civilian, okaygo

Kaillera Call Functions

Postby ndog » Wed Jun 25, 2003 7:27 pm

Hi

I am using Click n Create to develop a Multiplayer Game, and this time I've decided to incorporate the Kaillera.dll and see if I have any luck, instead of using the traditional MOO http://www.3ee.com dll which costs money to buy.

I downloaded Kaillera client API v0.84 (kailleraclient.dll, kailleraclient.h, kailleraclient.lib), freeware. I hope to be the first one to incorporate it into CNC, however if you know anyone who already has, plz tell me k :)

So far I haven't had any problems loading the dll, however I do not know what the call functions are after looking at kailleraclient.h (so I can't do much) all I can see is.

Code: Select all
  /*
     kailleraGetVersion
     Call this method to retrieve kailleraclient.dll's version
     - version must point to a char[16] buffer
  */
  DLLEXP kailleraGetVersion(char *version);
  /*
     kailleraInit:
     Call this method when your program starts
  */
  DLLEXP kailleraInit();
  /*
     kailleraShutdown:
     Call this method when your program ends
  DLLEXP kailleraShutdown();
  */


From what I remember at programming lessons was {} brackets meant comments however /* and */ (which Im not fimiliar wtih) appear to be comment brackets, so If I wanted to call a function, would it be:

kailleraGetVersion
-or-
DLLEXP kailleraGetVersion(char *version);

I would appreciate any help on the Call Function Commands if anyone would take the time to list them here or help me understand kaillera.h file better, I would be most utterly grateful :lol: :lol:

PS I saw that guest had the same problems earlier in the forum however no one replied to that one.

Cheers
-Nate
ndog
 

Postby Mystiq » Fri Jul 11, 2003 6:18 am

Ok, I'm sorry, but go and learn C++. { and } are not comments in C++, /* and */ are.
User avatar
Mystiq
Cylian
 
Posts: 221
Joined: Mon Apr 16, 2001 12:00 am
Location: Lifestream

Postby virushead » Sun Jul 13, 2003 11:37 am

SHADDY.......................................... :evil:
it will feel beter once it stops hurting
virushead
Senior Member
 
Posts: 13
Joined: Sat Jun 14, 2003 2:02 pm
Location: everywhere

Postby shenglong » Sat Feb 11, 2006 3:30 pm

{} are comments for pascal code not c++

also mystiq /* and */ is C
C++ is //
shenglong
 

Postby Mc2 » Tue Mar 28, 2006 7:08 am

#include <iostream>

using namespace std;

int gUnderStand_C++;

int main()
{
cout << "do you understand c++" << endl;
cout << "1 for yes 2 for no" << endl;
cin>>gUnderStand_C++

if(gUnderStand_C++ != 1)
{
// this is a comment
/* and this is used to comment
out more
then one line at a time so its a big coment
*/
cout << "Then Learn how to program!" << endl;
}
else
{
cout << "Good for you!" << endl;
}
}
Mc2
Senior Member
 
Posts: 43
Joined: Sun Feb 25, 2001 12:00 am


Return to SDK Development

Who is online

Users browsing this forum: Google [Bot] and 1 guest