Forum


Notice to all users

We are migrating towards a new forum system located at community.teamspeak.com, as such this forum will become read-only on January 29, 2020

Results 1 to 6 of 6
  1. #1
    Join Date
    July 2010
    Location
    Chicago
    Posts
    154

    cURL and Expat Dependencies

    Hello all,

    I'm creating a plugin with cURL and Expat dependencies. Just like the ts3overlay, I would like to put the DLLs in my plugin's folder, but have no idea how to make an explicit reference to those libraries.

    My code with cURL linked compiles but results in:
    Code:
    Plugin failed to load:
    Failed to open plugin.
    Thanks,
    PatPeter

  2. #2
    Join Date
    January 2010
    Location
    Germany
    Posts
    2,029
    That is because it's missing the linked dependencies. If you put the dependencies into the TS3 Main Folder it will load, but you said you would prefer not to do that.
    I don't know how the Overlay Plugin does it, but you should be able to figure it out by checking what system calls it uses.

  3. #3
    Join Date
    July 2010
    Location
    Chicago
    Posts
    154
    Quote Originally Posted by SilentStorm View Post
    That is because it's missing the linked dependencies. If you put the dependencies into the TS3 Main Folder it will load, but you said you would prefer not to do that.
    I don't know how the Overlay Plugin does it, but you should be able to figure it out by checking what system calls it uses.
    Oh, I forgot to be more specific.

    That plugin error shows up after I put the libcurl.dll etc. in the main TeamSpeak folder,. It just has to be in "C:\Program Files\TeamSpeak 3 Client\", correct?

    And I loaded ts3overlay in Dependency Walker and couldn't find any hooks.

  4. #4
    Join Date
    January 2010
    Location
    Germany
    Posts
    91
    the folder should be right. did you put the correct version (32 bit or 64 bit) of the dll in that folder?

  5. #5
    Join Date
    July 2010
    Location
    Chicago
    Posts
    154
    Quote Originally Posted by cfxxl View Post
    the folder should be right. did you put the correct version (32 bit or 64 bit) of the dll in that folder?
    64-bit libcurl.dll with 64-bit TeamSpeak. Here's GNU File:

    PE32+ executable for MS Windows (DLL) (console) Mono/.Net assembly

  6. #6
    Join Date
    October 2011
    Posts
    25
    @PatPeter: I had these problems with librarys as well. In the end it turned out to be easiest to compile a static library which doesnt need any other files. Maybe you should give it a try as well.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. serwer group dependencies
    By najsek in forum Permission System
    Replies: 6
    Last Post: October 19th, 2013, 09:18 PM
  2. [Solved?, bug?] Request for info - Win7 dependencies
    By The Duke of Alinor in forum Client Support
    Replies: 1
    Last Post: March 26th, 2010, 01:38 PM

Tags for this Thread

Posting Permissions

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