Forum

Results 1 to 2 of 2
  1. #1
    Join Date
    April 2007
    Location
    Germany
    Posts
    5

    ClientLib SDK with Delphi

    Hello Everyone,
    I program at the time with Delphi 7 and the ClientLib SDK.

    The program to work without problem, BUT I have problems with the callback functions.

    How can I translate the call to the callback function in Delphi, so it works.
    (C++: struct clUIFunctions funct ...usw...) ==> (Delphi: type TclFunctions = record ....usw...)

    *** german part deleted ***
    Last edited by dante696; January 28th, 2010 at 07:57 AM.

  2. #2
    Join Date
    September 2010
    Location
    Odessa, Ukraine
    Posts
    1
    Quote Originally Posted by andi99762 View Post
    Hello Everyone,
    I program at the time with Delphi 7 and the ClientLib SDK.

    The program to work without problem, BUT I have problems with the callback functions.

    How can I translate the call to the callback function in Delphi, so it works.
    (C++: struct clUIFunctions funct ...usw...) ==> (Delphi: type TclFunctions = record ....usw...)

    *** german part deleted ***


    C++ - ts3client_pluginsdk\src\plugin.c
    PHP Code:
    int ts3plugin_onTextMessageEvent(uint64 serverConnectionHandlerIDanyID targetModeanyID toIDanyID fromID, const charfromName, const charfromUniqueIdentifier, const charmessageint ffIgnored) {
        return 
    0;

    Delphi + (TS3 Plugin SDK in Delphi edited for ts3client_pluginsdk-3.0.0-beta26)
    PHP Code:
    function ts3plugin_onTextMessageEvent(serverConnectionHandlerID:anyidtargetMode:anyidtoID:anyidfromID:anyid; const fromName:PChar; const fromUniqueIdentifier:PChar; const msg:PCharffIgnored:integer):DWORDstdcall;
    begin
     result
    :=0;
    end
    But I receive an error when TS3 call function...
    Function works, I think that the problem in types of the data which transfers TS3 and which I accept, likely they differ...
    If at you it will turn out to solve a problem with data transmission in function please write here types of the data which transfers TS3

    P.S.
    Sorry for my English I used the translator

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Setting ServerQuery login credentials via ClientLib / Plugin SDK
    By phvcky in forum Suggestions and Feedback
    Replies: 2
    Last Post: February 27th, 2015, 12:22 AM
  2. [Resolved] channels==0 failed at client\clientlib\sound\sounddevicemanager.cpp:913
    By CrispyFries in forum Bug Reports [EN/DE]
    Replies: 35
    Last Post: February 29th, 2012, 10:32 PM
  3. [Clientlib]onClientJoin Event
    By willy_sunny in forum Suggestions and Feedback
    Replies: 0
    Last Post: April 18th, 2011, 08:20 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •