{"id":18389647,"url":"https://github.com/hw140701/dynamicmoduleloader","last_synced_at":"2025-04-07T02:34:41.033Z","repository":{"id":52407768,"uuid":"210807958","full_name":"HW140701/DynamicModuleLoader","owner":"HW140701","description":"Load dynamic libraries on Windows and Linux platforms(Windows/Linux加载动态库封装类)","archived":false,"fork":false,"pushed_at":"2020-08-19T09:40:04.000Z","size":6,"stargazers_count":6,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-22T11:45:03.610Z","etag":null,"topics":["dynamic-module","loader"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/HW140701.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-09-25T09:34:58.000Z","updated_at":"2024-07-26T09:18:51.000Z","dependencies_parsed_at":"2022-09-15T04:01:40.216Z","dependency_job_id":null,"html_url":"https://github.com/HW140701/DynamicModuleLoader","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HW140701%2FDynamicModuleLoader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HW140701%2FDynamicModuleLoader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HW140701%2FDynamicModuleLoader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HW140701%2FDynamicModuleLoader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HW140701","download_url":"https://codeload.github.com/HW140701/DynamicModuleLoader/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247583552,"owners_count":20962057,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dynamic-module","loader"],"created_at":"2024-11-06T01:44:04.520Z","updated_at":"2025-04-07T02:34:36.022Z","avatar_url":"https://github.com/HW140701.png","language":"C++","readme":"# 1 DynamicModuleLoader\n\nDynamicModuleLoader is a C++ class that can load dynamic libraries on Windows and Linux platforms.\n\n# 2 How to Use\n\n```cpp\n#include\u003ciostream\u003e\n\n#include \"DynamicModuleLoder.h\"\ntypedef int(*Func_Add)(int,int);\n\nint main()\n{\n\tDynamicModuleLoder dllLoader;\n\tif (dllLoader.LoadDynamicModule(\"add.dll\"))\n\t{\n\t\tvoid* voidTest = dllLoader.GetFunction(\"Add\");\n\t\tif (voidTest != NULL)\n\t\t{\n\t\t\tFunc_Add f_add = (Func_Add )(voidTest );\n\t\t\tint ret = f_add(1,2);\n\t\t\tstd::cout \u003c\u003c ret \u003c\u003c std::endl;\n\t\t}\n\t\telse\n\t\t{\n\t\t\tstd::cout \u003c\u003c dllLoader.GetErrorMessage() \u003c\u003c std::endl;\n\t\t}\n\t}\n\telse\n\t{\n\t\tstd::cout \u003c\u003c dllLoader.GetErrorMessage() \u003c\u003c std::endl;\n\t}\n\tdllLoader.UnloadDynamicModule();\n\tgetchar();\n\n\treturn 0;\n}\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhw140701%2Fdynamicmoduleloader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhw140701%2Fdynamicmoduleloader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhw140701%2Fdynamicmoduleloader/lists"}