Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Require external libraries #27

Closed
borsuczyna opened this issue Dec 15, 2021 · 5 comments
Closed

Require external libraries #27

borsuczyna opened this issue Dec 15, 2021 · 5 comments
Labels
type:feature New feature or request

Comments

@borsuczyna
Copy link

borsuczyna commented Dec 15, 2021

Really hope for requiring external libraries for example WebSocket for pseudo-multiplayer

const WebSocket = require('ws')
@borsuczyna
Copy link
Author

Since I know it's not using Node.js, maybe external libraries to load functions from another .dll/.asi file?

@x87
Copy link
Contributor

x87 commented Dec 15, 2021

support for loading functions from external libraries is planned, much like CLEO 4 does it

https://library.sannybuilder.com/#/sa/classes/DynamicLibrary

@borsuczyna
Copy link
Author

That would be great!
I tried find any info about this function but didn't find anything, what libraries will it support? Is there any chance to load for example any networking library (maybe socket)? Thanks in advance for the answers!

@x87
Copy link
Contributor

x87 commented Dec 16, 2021

it loads any dll file and returns its handle, think of it as WinAPI's LoadLibrary() function

@x87 x87 added the type:feature New feature or request label Jan 5, 2022
@x87
Copy link
Contributor

x87 commented Mar 4, 2022

Loading dll files and calling functions is supported with Dylib.cleo plugin (available to download here: https://github.com/cleolibrary/CLEO-Redux/releases)

@x87 x87 closed this as completed Mar 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:feature New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants