Including 3rd party libraries

Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!
  • Public Service Announcement

    Hey Guest, I’ve got some exciting news to share! 🎉

    Starting this December, I’ll be moving the entire GameServersHub website away from WordPress and rebuilding it in Next.js! This upgrade will bring incredibly faster speeds, smoother performance, and a modern user experience that sets the stage for everything coming next.

    In 2026, GameServersHub will be entering a new era. I’ll be revamping the entire platform from the ground up and launching a brand-new, fully modernized marketplace. It’ll feature a cleaner design, improved functionality, and better tools for both creators and server owners.

    On top of that, development has already started on the GameServerListing project at https://gsl-six.vercel.app/, which is expected to launch in early Q1 2026. This new system will make discovering and managing servers easier than ever before.


    👉 Stay in the loop!
    Join our Discord for behind-the-scenes updates, early previews, and community discussions.

    » Click here to join our Discord! «

    ~ MrOwlSky

baylf2000

Well-known member
Joined
Apr 11, 2018
Messages
50
Sorry for another newb question, but I'm trying to include a third party c++ library (https://github.com/Microsoft/cpprestsdk) in my plugin.

The plugin compiles fine, and generates the its down dll plus a bunch of other 3rd party dlls which I assume are other libraries that cpprest relies on.

I have tried including the entire folder in the ArkApi/Plugins folder, but I end up with an error message during server startup - "
[API][warning] Failed to load plugin - CPPRestAPITest Error code: 126". It seems like error 126 is a generic error message which means "The specified module could not be found.".

Am I unable to use other libraries in my plugin, or, more likely, am I doing something completely wrong?

As always, thanks so much for the help.
 
You can use other libraries. But it looks like you forgot to include some dependencies in your server.
 
Thanks as always for taking the time to respond.

Yes I worked out eventually that the included DLLs need to go into the same directory as the game exe file, not in the plugin directory.

Life on Linux is so much simpler :)
 
Back
Top