teamspeak

How do I stop a delay-loaded DLL from throwing a “missing from your computer” system error?

筅森魡賤 提交于 2019-12-25 07:25:45
问题 I set up delay loading in my plugin yesterday: #ifdef _WIN32 #pragma warning (disable : 4100) /* Disable Unreferenced parameter warning */ #include <windows.h> #include <delayimp.h> #endif ... // Configuration Properties / Linker / Input / Additional Dependencies: ./lib/libcurl.lib;./lib/libxml2.lib;./lib/iconv.lib;./lib/zlib1.lib;%(AdditionalDependencies) // Configuration Properties / Linker / Input /Delay Loaded Dlls: libcurl;libxml2;iconv;zlib1;%(DelayLoadDLLs) #include "curl.h" #include

SQLite faster than MySQL?

非 Y 不嫁゛ 提交于 2019-12-21 07:12:01
问题 I want to set up a teamspeak 3 server. I can choose between SQLite and MySQL as database. Well I usually tend to "do not use SQLite in production". But on the other hand, it's a teamspeak server. Well okay, just let me google this... I found this: Speed SQLite3 is much faster than MySQL database. It's because file database is always faster than unix socket. When I requested edit of channel it took about 0.5-1 sec on MySQL database (127.0.0.1) and almost instantly (0.1 sec) on SQLite 3. [...]

Class 'TeamSpeak3_Helper_Uri' not found

我与影子孤独终老i 提交于 2019-12-11 10:19:57
问题 I'm making a dashboard that requires the Teamspeak 3 library in CodeIgniter. I now get an error that the TeamSpeak3_Helper_Uri has not been found in Teamspeak.php . Perhabs it has something to do with naming because it has running fine on a Windows machine (now running on Linux). The error: Fatal error: Class 'TeamSpeak3_Helper_Uri' not found in /var/www/html/FlightAcademy/application/libraries/Teamspeak3/Teamspeak3.php on line 313 Teamspeak3.php line 309 till 322: public static function

How do I link libxml2 with zlib1 on Windows?

*爱你&永不变心* 提交于 2019-12-08 06:24:15
问题 I need to compile libxml2 32-bit and 64-bit binaries for my TeamSpeak 3 plugin because I could not find a dll/lib 64-bit download. When I use my compiled libxml2.dll as a dependency in a command prompt application, it works just fine. However, when I try to use it as a dependency in TeamSpeak 3, the program immediately crashes on launch. Specifically it crashes on this line: https://github.com/NobleUplift/TeamSpeak3WebsitePreview/blob/master/ts3websitepreview/plugin.c#L148 This is my batch

Find item in QApplication by only the objectname

浪尽此生 提交于 2019-11-30 00:33:33
问题 i want to find any object by a objectname string name inside of the QApplication Something like QApplication.instance().findByClassName("codeEditor") which should return a list of widgets with this classname that i can iterate over if there is more then one [QPushButton (QPushButton at: 0x0000008EA3B3DD80), QWidget (QWidget at: 0x0000008EA3F33F40)] I have read this but it requires a object and i want something like * This is something i came up with for testing: def findWidget(name): name =