Results 1 to 6 of 6
Thread: anyID = UInt32
-
07-01-2010, 15:28 #1
-= TeamSpeak User =-
- Join Date
- Dec 2009
- Location
- Frankfurt/Main
- Posts
- 15
anyID = UInt32
Hello,
i have a question, is it true that the anyID Type is an unsigned Integer 32-Bit (so 4 Bytes)
When I call ts3server_getChannelList I get a result-array with only 16-Bit values. (2 Bytes)
I hope for fast answer,
greets
-
07-01-2010, 15:36 #2
-= TeamSpeak Team =-
- Join Date
- Jun 2008
- Location
- Krün, Germany
- Posts
- 464
Look in the public_definitions.h header of the SDK, line 21 or 30 depending on your operating system. You will see that anyID is defined as a signed 16 bit integer.
-
07-01-2010, 15:56 #3
-= TeamSpeak User =-
- Join Date
- Dec 2009
- Location
- Frankfurt/Main
- Posts
- 15
Perfect, but I already found it. Please correct it in your C# Example. There it is defined as UInt32!
-
07-01-2010, 17:28 #4
Its defined as unsigned 16 bit integer.
PHP Code:#if defined(WIN32) || defined(__WIN32__) || defined(_WIN32)
typedef unsigned __int16 anyID;
typedef unsigned __int64 uint64;
#ifdef BUILDING_DLL
#define EXPORTDLL __declspec(dllexport)
#else
#define EXPORTDLL
#endif
#else
-
08-01-2010, 07:48 #5
-= TeamSpeak User =-
- Join Date
- Dec 2009
- Location
- Frankfurt/Main
- Posts
- 15
-
08-01-2010, 09:57 #6
-= TeamSpeak Team =-
- Join Date
- Jun 2008
- Location
- Krün, Germany
- Posts
- 464
Yeah, that doesn't look right with uint32 in the C# SDK sample. Good catch.
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)


Reply With Quote

