Community Forums Today's Posts     Member List     Archive    
Results 1 to 6 of 6
  1. #1
    Join Date
    Jul 2010
    Location
    Chicago
    Posts
    102

    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
    Jan 2010
    Location
    Germany
    Posts
    2,038
    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
    Jul 2010
    Location
    Chicago
    Posts
    102
    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
    Jan 2010
    Location
    Germany
    Posts
    71
    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
    Jul 2010
    Location
    Chicago
    Posts
    102
    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
    Oct 2011
    Posts
    20
    @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. [Solved?, bug?] Request for info - Win7 dependencies
    By The Duke of Alinor in forum Client Support
    Replies: 1
    Last Post: 26-03-2010, 12:38
  2. Teamspeak Services Dependencies
    By Marc9118 in forum [TeamSpeak 2] Server Support
    Replies: 3
    Last Post: 08-12-2005, 01:47

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
  •